Revision: 5214
Author: [email protected]
Date: Mon Aug  9 05:49:57 2010
Log: Ported fix to Windows build problem.

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

Modified:
 /trunk/src/ia32/codegen-ia32.cc
 /trunk/src/ia32/full-codegen-ia32.cc
 /trunk/src/version.cc

=======================================
--- /trunk/src/ia32/codegen-ia32.cc     Mon Aug  9 02:47:21 2010
+++ /trunk/src/ia32/codegen-ia32.cc     Mon Aug  9 05:49:57 2010
@@ -7594,9 +7594,7 @@
   __ and_(Operand(tmp), right);
   __ test(Operand(tmp), Immediate(kSmiTagMask));
   destination()->false_target()->Branch(equal);
-  __ mov(tmp, FieldOperand(left, HeapObject::kMapOffset));
-  __ cmpb(FieldOperand(tmp, Map::kInstanceTypeOffset),
-          static_cast<int8_t>(JS_REGEXP_TYPE));
+  __ CmpObjectType(left, JS_REGEXP_TYPE, tmp);
   destination()->false_target()->Branch(not_equal);
   __ cmp(tmp, FieldOperand(right, HeapObject::kMapOffset));
   destination()->false_target()->Branch(not_equal);
=======================================
--- /trunk/src/ia32/full-codegen-ia32.cc        Mon Aug  9 02:47:21 2010
+++ /trunk/src/ia32/full-codegen-ia32.cc        Mon Aug  9 05:49:57 2010
@@ -2696,9 +2696,7 @@
   __ and_(Operand(tmp), right);
   __ test(Operand(tmp), Immediate(kSmiTagMask));
   __ j(zero, &fail);
-  __ mov(tmp, FieldOperand(left, HeapObject::kMapOffset));
-  __ cmpb(FieldOperand(tmp, Map::kInstanceTypeOffset),
-          static_cast<int8_t>(JS_REGEXP_TYPE));
+  __ CmpObjectType(left, JS_REGEXP_TYPE, tmp);
   __ j(not_equal, &fail);
   __ cmp(tmp, FieldOperand(right, HeapObject::kMapOffset));
   __ j(not_equal, &fail);
=======================================
--- /trunk/src/version.cc       Mon Aug  9 02:47:21 2010
+++ /trunk/src/version.cc       Mon Aug  9 05:49:57 2010
@@ -35,7 +35,7 @@
 #define MAJOR_VERSION     2
 #define MINOR_VERSION     3
 #define BUILD_NUMBER      6
-#define PATCH_LEVEL       0
+#define PATCH_LEVEL       1
 #define CANDIDATE_VERSION false

 // Define SONAME to have the SCons build the put a specific SONAME into the

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

Reply via email to