Reviewers: Kevin Millikin,
Description:
Fix presubmit failure introduced by r7158.
[email protected]
Please review this at http://codereview.chromium.org/6685047/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files:
M src/x64/lithium-codegen-x64.cc
M src/x64/lithium-x64.cc
Index: src/x64/lithium-codegen-x64.cc
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc
index
1c1addbb48b48ee45f20385707282196ba0d12f3..11f7e230c1bce6fd848991a9a5c317263969002a
100644
--- a/src/x64/lithium-codegen-x64.cc
+++ b/src/x64/lithium-codegen-x64.cc
@@ -788,7 +788,8 @@ void LCodeGen::DoModI(LModI* instr) {
DeoptimizeIf(zero, instr->environment());
}
- // Sign extend eax to edx. (We are using only the low 32 bits of the
values.)
+ // Sign extend eax to edx.
+ // (We are using only the low 32 bits of the values.)
__ cdq();
// Check for (0 % -x) that will produce negative zero.
Index: src/x64/lithium-x64.cc
diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc
index
640d58ef56096dce687b786d44f32a43e8183b89..e145eb0224a69636c383928dfacd03dbe4b0f248
100644
--- a/src/x64/lithium-x64.cc
+++ b/src/x64/lithium-x64.cc
@@ -1355,8 +1355,8 @@ LInstruction* LChunkBuilder::DoMod(HMod* instr) {
LModI* mod = new LModI(value, UseOrConstant(instr->right()), NULL);
result = DefineSameAsFirst(mod);
} else {
- // The temporary operand is necessary to ensure that right is not
allocated
- // into edx.
+ // The temporary operand is necessary to ensure that right is not
+ // allocated into edx.
LOperand* temp = FixedTemp(rdx);
LOperand* value = UseFixed(instr->left(), rax);
LOperand* divisor = UseRegister(instr->right());
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev