Commit 7c5cca29 authored by ager@chromium.org's avatar ager@chromium.org

Don't return false from CompileCallInterceptor which returns a

MaybeObject*. Instead return the failure which will be handled
correctly by the caller. This code would lead to a crash if ever
executed.


Review URL: http://codereview.chromium.org/5182006

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5852 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 5418f64e
...@@ -2318,7 +2318,7 @@ MaybeObject* CallStubCompiler::CompileCallInterceptor(JSObject* object, ...@@ -2318,7 +2318,7 @@ MaybeObject* CallStubCompiler::CompileCallInterceptor(JSObject* object,
&miss, &miss,
&failure); &failure);
if (!success) { if (!success) {
return false; return failure;
} }
// Restore receiver. // Restore receiver.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment