Revision: 9574
Author:   [email protected]
Date:     Mon Oct 10 09:18:20 2011
Log:      Fixing assertion.

[email protected]

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

Modified:
 /branches/bleeding_edge/src/x64/code-stubs-x64.cc

=======================================
--- /branches/bleeding_edge/src/x64/code-stubs-x64.cc Mon Oct 10 09:09:03 2011 +++ /branches/bleeding_edge/src/x64/code-stubs-x64.cc Mon Oct 10 09:18:20 2011
@@ -4084,7 +4084,7 @@
                  Heap::kEmptyStringRootIndex);
   __ j(not_equal, &call_runtime_);
   // Get the first of the two strings and load its instance type.
-  ASSERT(kScratchRegister != scratch_);
+  ASSERT(!kScratchRegister.is(scratch_));
__ movq(kScratchRegister, FieldOperand(object_, ConsString::kFirstOffset));
   __ jmp(&assure_seq_string, Label::kNear);

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

Reply via email to