1
0
Fork 0
mirror of https://github.com/rubyjs/therubyracer synced 2023-03-27 23:21:42 -04:00

remove cruft revealed by warnings.

This commit is contained in:
Charles Lowell 2011-06-02 10:59:05 -05:00
parent e3b263dbd3
commit 080a8ce4ae
5 changed files with 4 additions and 4 deletions

View file

@ -23,6 +23,7 @@ namespace {
HandleScope scope;
TryCatch tc;
VALUE try_catch = Data_Wrap_Struct(TryCatchClass, 0, 0, &tc);
rb_iv_set(try_catch, "dead", Qfalse);
VALUE result = rb_yield(try_catch);
rb_iv_set(try_catch, "dead", Qtrue);
tc.Reset();

View file

@ -2,7 +2,7 @@
module V8
class Portal
class ConstructorAdapter
attr_reader :template, :function, :exposed
attr_reader :template, :exposed
alias_method :exposed?, :exposed
def initialize(templates, class_id)

View file

@ -2,7 +2,7 @@ module V8
class Portal
class FunctionAdapter
attr_reader :template, :function
attr_reader :template
def initialize(portal, code)
@portal = portal

View file

@ -2,7 +2,6 @@ module V8
class Portal
class Interceptors
def initialize(portal)
@portal
@getter = NamedPropertyGetter.new(portal)
@setter = NamedPropertySetter.new(portal)
@query = nil

View file

@ -1,3 +1,3 @@
module V8
VERSION = "0.9.0beta6"
VERSION = "0.9.0beta7"
end