Permalink
Browse files

moving the dispatcher bits into the kernel + misc fixes/cleanup

git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@4208 23306eb0-4c56-4727-a40e-e92c0eb68959
  • Loading branch information...
1 parent 486116a commit 8e4c2c7370e29f2673554fae5c6d7fa7ce99c46b @lrz lrz committed Jun 5, 2010
Showing with 768 additions and 696 deletions.
  1. +1 −1 bignum.c
  2. +387 −347 compiler.cpp
  3. +11 −7 compiler.h
  4. +59 −215 dispatcher.cpp
  5. +1 −1 error.c
  6. +2 −0 ext/openssl/extconf.rb
  7. +4 −0 ext/openssl/ossl_ssl.c
  8. +1 −13 gc.c
  9. +1 −30 include/ruby/ruby.h
  10. +7 −4 io.c
  11. +137 −16 kernel.c
  12. +1 −1 object.c
  13. +14 −1 perf/perf_method.rb
  14. +1 −1 rakelib/builder.rake
  15. +3 −3 rakelib/builder/options.rb
  16. +9 −11 rational.c
  17. +1 −1 ruby.c
  18. +5 −1 string.c
  19. +0 −4 variable.c
  20. +43 −26 vm.cpp
  21. +65 −13 vm.h
  22. +15 −0 vm_eval.c
View
@@ -771,7 +771,7 @@ power_cache_get_power0(int base, int i)
big2str_power_cache[base - 2][i] =
i == 0 ? rb_big_pow(rb_int2big(base), INT2FIX(KARATSUBA_DIGITS))
: bigsqr(power_cache_get_power0(base, i - 1));
- rb_global_variable(&big2str_power_cache[base - 2][i]);
+ GC_RETAIN(big2str_power_cache[base - 2][i]);
}
return big2str_power_cache[base - 2][i];
}
Oops, something went wrong.

0 comments on commit 8e4c2c7

Please sign in to comment.