Revision: 6717
Author: [email protected]
Date: Thu Feb 10 02:03:00 2011
Log: Merge revision 6714 to the 3.0 branch.

This fixes a bug in the register requirements for Function.prototype.apply.

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

Modified:
 /branches/3.0/src/arm/lithium-arm.cc
 /branches/3.0/src/ia32/lithium-ia32.cc
 /branches/3.0/src/version.cc

=======================================
--- /branches/3.0/src/arm/lithium-arm.cc        Wed Feb  2 07:49:30 2011
+++ /branches/3.0/src/arm/lithium-arm.cc        Thu Feb 10 02:03:00 2011
@@ -1088,8 +1088,8 @@
 LInstruction* LChunkBuilder::DoApplyArguments(HApplyArguments* instr) {
   LOperand* function = UseFixed(instr->function(), r1);
   LOperand* receiver = UseFixed(instr->receiver(), r0);
-  LOperand* length = UseRegisterAtStart(instr->length());
-  LOperand* elements = UseRegisterAtStart(instr->elements());
+  LOperand* length = UseFixed(instr->length(), r2);
+  LOperand* elements = UseFixed(instr->elements(), r3);
   LApplyArguments* result = new LApplyArguments(function,
                                                 receiver,
                                                 length,
=======================================
--- /branches/3.0/src/ia32/lithium-ia32.cc      Wed Feb  9 23:21:03 2011
+++ /branches/3.0/src/ia32/lithium-ia32.cc      Thu Feb 10 02:03:00 2011
@@ -1123,9 +1123,9 @@
 LInstruction* LChunkBuilder::DoApplyArguments(HApplyArguments* instr) {
   LOperand* function = UseFixed(instr->function(), edi);
   LOperand* receiver = UseFixed(instr->receiver(), eax);
-  LOperand* length = UseRegisterAtStart(instr->length());
-  LOperand* elements = UseRegisterAtStart(instr->elements());
-  LOperand* temp = FixedTemp(ebx);
+  LOperand* length = UseFixed(instr->length(), ebx);
+  LOperand* elements = UseFixed(instr->elements(), ecx);
+  LOperand* temp = FixedTemp(edx);
   LApplyArguments* result = new LApplyArguments(function,
                                                 receiver,
                                                 length,
=======================================
--- /branches/3.0/src/version.cc        Thu Feb 10 01:51:51 2011
+++ /branches/3.0/src/version.cc        Thu Feb 10 02:03:00 2011
@@ -35,7 +35,7 @@
 #define MAJOR_VERSION     3
 #define MINOR_VERSION     0
 #define BUILD_NUMBER      12
-#define PATCH_LEVEL       14
+#define PATCH_LEVEL       15
 #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