Revision: 4940
Author: [email protected]
Date: Thu Jun 24 05:31:49 2010
Log: Fixing the regression introduced in r4716.

The regression made 2 tests fail on ia32 with --always-full-compiler.

Review URL: http://codereview.chromium.org/2862028
http://code.google.com/p/v8/source/detail?r=4940

Modified:
 /branches/bleeding_edge/src/ia32/full-codegen-ia32.cc

=======================================
--- /branches/bleeding_edge/src/ia32/full-codegen-ia32.cc Thu Jun 10 02:02:16 2010 +++ /branches/bleeding_edge/src/ia32/full-codegen-ia32.cc Thu Jun 24 05:31:49 2010
@@ -2175,7 +2175,7 @@
   // LAST_JS_OBJECT_TYPE.
   ASSERT(LAST_TYPE == JS_FUNCTION_TYPE);
   ASSERT(JS_FUNCTION_TYPE == LAST_JS_OBJECT_TYPE + 1);
-  __ cmp(ebx, JS_FUNCTION_TYPE);
+  __ CmpInstanceType(eax, JS_FUNCTION_TYPE);
   __ j(equal, &function);

   // Check if the constructor in the map is a function.

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

Reply via email to