[JAEGER] Correct ic::BindName::disable() return. b=584587, r=dvander.

This commit is contained in:
Sean Stangl 2010-08-06 14:12:57 -07:00
parent 6e263ae356
commit 8082b01358

View File

@ -1041,7 +1041,7 @@ class GetPropCompiler : public PICStubCompiler
if (obj == holder && !pic.inlinePathPatched) if (obj == holder && !pic.inlinePathPatched)
return patchInline(holder, sprop); return patchInline(holder, sprop);
else
return generateStub(holder, sprop); return generateStub(holder, sprop);
} }
@ -1361,7 +1361,7 @@ class GetElemCompiler : public PICStubCompiler
if (obj == holder && !pic.inlinePathPatched) if (obj == holder && !pic.inlinePathPatched)
return patchInline(holder, sprop); return patchInline(holder, sprop);
else
return generateStub(holder, sprop); return generateStub(holder, sprop);
} }
@ -1684,10 +1684,9 @@ class BindNameCompiler : public PICStubCompiler
stub(JS_FUNC_TO_DATA_PTR(void *, stub)) stub(JS_FUNC_TO_DATA_PTR(void *, stub))
{ } { }
JSObject *disable(const char *reason) bool disable(const char *reason)
{ {
PICStubCompiler::disable(reason, stub); return PICStubCompiler::disable(reason, stub);
return NULL;
} }
static void reset(ic::PICInfo &pic) static void reset(ic::PICInfo &pic)