Reviewers: dcarney,
Description:
[turbofan] Enforce allocation of register for imull/mull.
[email protected]
Please review this at https://codereview.chromium.org/697073002/
Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+1, -1 lines):
M src/compiler/x64/instruction-selector-x64.cc
Index: src/compiler/x64/instruction-selector-x64.cc
diff --git a/src/compiler/x64/instruction-selector-x64.cc
b/src/compiler/x64/instruction-selector-x64.cc
index
cd039ed2882299f51798fdf7530db84e22d8d7f0..a45ea37ab02e84e2705dcb722e2f93f0798980b6
100644
--- a/src/compiler/x64/instruction-selector-x64.cc
+++ b/src/compiler/x64/instruction-selector-x64.cc
@@ -415,7 +415,7 @@ void VisitMulHigh(InstructionSelector* selector, Node*
node,
std::swap(left, right);
}
selector->Emit(opcode, g.DefineAsFixed(node, rdx), g.UseFixed(left, rax),
- g.UseUnique(right));
+ g.UseUniqueRegister(right));
}
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.