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

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

Issue 9307083: Implement caching scheme for Date fields. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased to HEAD. Created 8 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
« no previous file with comments | « src/date.js ('k') | src/macros.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ia32/lithium-ia32.cc
diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc
index 57005ff77e08d3577070cccc764fcd2ffbea804c..db8fa2a637e861336a34dd6686cac853e9308b59 100644
--- a/src/ia32/lithium-ia32.cc
+++ b/src/ia32/lithium-ia32.cc
@@ -1656,8 +1656,8 @@ LInstruction* LChunkBuilder::DoDateField(HDateField* instr) {
LInstruction* LChunkBuilder::DoSetDateField(HSetDateField* instr) {
- LOperand* date = UseRegister(instr->OperandAt(1));
- LOperand* value = UseRegister(instr->OperandAt(2));
+ LOperand* date = UseTempRegister(instr->OperandAt(1));
+ LOperand* value = UseTempRegister(instr->OperandAt(2));
LSetDateField* result =
new(zone()) LSetDateField(date, value, TempRegister(), instr->index());
return DefineAsRegister(result);
« no previous file with comments | « src/date.js ('k') | src/macros.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698