Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(32)

Unified Diff: src/arm/lithium-arm.cc

Issue 194793002: [v8-dev] ARM: safepoints frame optimization (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/arm/lithium-arm.cc
diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc
index f12b6eaeb0206ac18e66668722f9b78103fafbcd..29ce5bdae3bd3761879571c16e0737d69d0b1ef0 100644
--- a/src/arm/lithium-arm.cc
+++ b/src/arm/lithium-arm.cc
@@ -1394,8 +1394,8 @@ LInstruction* LChunkBuilder::DoModI(HMod* instr) {
} else {
LOperand* dividend = UseRegister(instr->left());
LOperand* divisor = UseRegister(instr->right());
- LOperand* temp = FixedTemp(d10);
- LOperand* temp2 = FixedTemp(d11);
+ LOperand* temp = FixedTemp(d3);
+ LOperand* temp2 = FixedTemp(d4);
LInstruction* result =
DefineAsRegister(new(zone()) LModI(dividend, divisor, temp, temp2));
bool can_deopt = (instr->right()->CanBeZero() ||
@@ -1869,7 +1869,7 @@ LInstruction* LChunkBuilder::DoChange(HChange* instr) {
} else {
value = UseRegister(val);
LOperand* temp1 = TempRegister();
- LOperand* temp2 = FixedTemp(d11);
+ LOperand* temp2 = FixedTemp(d3);
res = DefineSameAsFirst(new(zone()) LTaggedToI(value,
temp1,
temp2));
@@ -1996,7 +1996,7 @@ LInstruction* LChunkBuilder::DoClampToUint8(HClampToUint8* instr) {
ASSERT(input_rep.IsSmiOrTagged());
// Register allocator doesn't (yet) support allocation of double
// temps. Reserve d1 explicitly.
- LClampTToUint8* result = new(zone()) LClampTToUint8(reg, FixedTemp(d11));
+ LClampTToUint8* result = new(zone()) LClampTToUint8(reg, FixedTemp(d3));
return AssignEnvironment(DefineAsRegister(result));
}
}

Powered by Google App Engine
This is Rietveld 408576698