Revision: 5852
Author: [email protected]
Date: Thu Nov 18 03:21:20 2010
Log: 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
http://code.google.com/p/v8/source/detail?r=5852

Modified:
 /branches/bleeding_edge/src/ia32/stub-cache-ia32.cc

=======================================
--- /branches/bleeding_edge/src/ia32/stub-cache-ia32.cc Tue Nov 16 08:08:57 2010 +++ /branches/bleeding_edge/src/ia32/stub-cache-ia32.cc Thu Nov 18 03:21:20 2010
@@ -2318,7 +2318,7 @@
                                   &miss,
                                   &failure);
   if (!success) {
-    return false;
+    return failure;
   }

   // Restore receiver.

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to