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:
parent
e3b263dbd3
commit
080a8ce4ae
5 changed files with 4 additions and 4 deletions
|
@ -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();
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -2,7 +2,7 @@ module V8
|
|||
class Portal
|
||||
class FunctionAdapter
|
||||
|
||||
attr_reader :template, :function
|
||||
attr_reader :template
|
||||
|
||||
def initialize(portal, code)
|
||||
@portal = portal
|
||||
|
|
|
@ -2,7 +2,6 @@ module V8
|
|||
class Portal
|
||||
class Interceptors
|
||||
def initialize(portal)
|
||||
@portal
|
||||
@getter = NamedPropertyGetter.new(portal)
|
||||
@setter = NamedPropertySetter.new(portal)
|
||||
@query = nil
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
module V8
|
||||
VERSION = "0.9.0beta6"
|
||||
VERSION = "0.9.0beta7"
|
||||
end
|
Loading…
Reference in a new issue