Revision: 5466
Author: [email protected]
Date: Thu Sep 16 01:17:46 2010
Log: Fix x64 compilation error. Patch from [email protected]

http://codereview.chromium.org/3442004/show
http://code.google.com/p/v8/source/detail?r=5466

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

=======================================
--- /branches/bleeding_edge/src/x64/code-stubs-x64.cc Thu Sep 16 00:24:15 2010 +++ /branches/bleeding_edge/src/x64/code-stubs-x64.cc Thu Sep 16 01:17:46 2010
@@ -1989,7 +1989,7 @@
   __ j(negative, &done);
// Read the value from the static offsets vector buffer and make it a smi.
   __ movl(rdi, Operand(rcx, rdx, times_int_size, 0));
-  __ Integer32ToSmi(rdi, rdi, &runtime);
+  __ Integer32ToSmi(rdi, rdi);
   // Store the smi value in the last match info.
   __ movq(FieldOperand(rbx,
                        rdx,
=======================================
--- /branches/bleeding_edge/src/x64/macro-assembler-x64.cc Thu Sep 16 00:24:15 2010 +++ /branches/bleeding_edge/src/x64/macro-assembler-x64.cc Thu Sep 16 01:17:46 2010
@@ -1,4 +1,4 @@
-// Copyright 2009 the V8 project authors. All rights reserved.
+// Copyright 2010 the V8 project authors. All rights reserved.
 // Redistribution and use in source and binary forms, with or without
 // modification, are permitted provided that the following conditions are
 // met:
@@ -1015,7 +1015,6 @@
                             const Operand& src2) {
   // No overflow checking. Use only when it's known that
   // overflowing is impossible (e.g., subtracting two positive smis).
-  ASSERT(!dst.is(src2));
   if (dst.is(src1)) {
     subq(dst, src2);
   } else {

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

Reply via email to