Reviewers: ulan,
Message:
PTAL.
Description:
Fix compile error.
BUG=
TEST=
Please review this at http://codereview.chromium.org/9423039/
SVN Base: https://v8.googlecode.com/svn/branches/3.7
Affected files:
M src/version.cc
M src/x64/lithium-codegen-x64.cc
Index: src/version.cc
diff --git a/src/version.cc b/src/version.cc
index
13d9a7cd0fb39bad4c8eeb3fed173cd2fc65f4ca..237cb0e78b95db1530c6f51870a776fa3210ce5f
100644
--- a/src/version.cc
+++ b/src/version.cc
@@ -35,7 +35,7 @@
#define MAJOR_VERSION 3
#define MINOR_VERSION 7
#define BUILD_NUMBER 12
-#define PATCH_LEVEL 23
+#define PATCH_LEVEL 24
// Use 1 for candidates and 0 otherwise.
// (Boolean macro values are not supported by all preprocessors.)
#define IS_CANDIDATE_VERSION 0
Index: src/x64/lithium-codegen-x64.cc
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc
index
132d2be907cf556eb22b581b09260c7510a84498..82eabac056b11c0672050803e3f1cd01b19dd0ee
100644
--- a/src/x64/lithium-codegen-x64.cc
+++ b/src/x64/lithium-codegen-x64.cc
@@ -1778,7 +1778,7 @@ void LCodeGen::EmitClassOfTest(Label* is_true,
// actual type and do a signed compare with the width of the type
range.
__ movq(temp, FieldOperand(input, HeapObject::kMapOffset));
__ movzxbl(scratch, FieldOperand(temp, Map::kInstanceTypeOffset));
- __ sub(scratch, Immediate(FIRST_NONCALLABLE_SPEC_OBJECT_TYPE));
+ __ subq(scratch, Immediate(FIRST_NONCALLABLE_SPEC_OBJECT_TYPE));
__ cmpq(scratch, Immediate(LAST_NONCALLABLE_SPEC_OBJECT_TYPE -
FIRST_NONCALLABLE_SPEC_OBJECT_TYPE));
__ j(above, is_false);
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev