Fix up Rubinius specific library specs.
[rbx.git] / lib / compiler / garnet / test.rbo
blob30102369aedae21796a484784be7d9466860de6d
2 class Primitives
4   def add(x, y)
5     x.fixnum!
6     y.fixnum!
7     stack_push fixnum_add(@state, x, y)
8   end
9   
10   def bignum_add(x, y)
11     x.bignum!
12     y.bignum!
13     
14     
15   end
17 end
20 class Object
21   def equal(other)
22     Ruby.primitive do
23       if self == other
24         stack_push true
25       else
26         stack_push false
27       end
28     end
29   end
30 end