From 7c5cca2927d7f80cb91d2ce2efeb5ea9759b3612 Mon Sep 17 00:00:00 2001 From: "ager@chromium.org" Date: Thu, 18 Nov 2010 11:21:20 +0000 Subject: [PATCH] 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 --- src/ia32/stub-cache-ia32.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ia32/stub-cache-ia32.cc b/src/ia32/stub-cache-ia32.cc index 4184d4c..6bfa6b9 100644 --- a/src/ia32/stub-cache-ia32.cc +++ b/src/ia32/stub-cache-ia32.cc @@ -2318,7 +2318,7 @@ MaybeObject* CallStubCompiler::CompileCallInterceptor(JSObject* object, &miss, &failure); if (!success) { - return false; + return failure; } // Restore receiver. -- 2.7.4