Reviewers: Søren Gjesse,

Description:
Fixing the regression introduced in r4716.

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


Please review this at http://codereview.chromium.org/2862028/show

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
  M     src/ia32/full-codegen-ia32.cc


Index: src/ia32/full-codegen-ia32.cc
===================================================================
--- src/ia32/full-codegen-ia32.cc       (revision 4922)
+++ src/ia32/full-codegen-ia32.cc       (working copy)
@@ -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