Reviewers: Sven Panne,
Message:
Going for the bonus points :-)
Description:
Add AssertSmi() in x64 MacroAssembler::SmiTest().
[email protected]
Please review this at https://codereview.chromium.org/19647006/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files:
M src/x64/macro-assembler-x64.cc
Index: src/x64/macro-assembler-x64.cc
diff --git a/src/x64/macro-assembler-x64.cc b/src/x64/macro-assembler-x64.cc
index
da5281def3d50684f74a9e1609dc6274c4bcfe4f..b3e15905aad4654d41ed8041bac60424694959fb
100644
--- a/src/x64/macro-assembler-x64.cc
+++ b/src/x64/macro-assembler-x64.cc
@@ -1158,6 +1158,7 @@ void MacroAssembler::SmiToInteger64(Register dst,
const Operand& src) {
void MacroAssembler::SmiTest(Register src) {
+ AssertSmi(src);
testq(src, src);
}
--
--
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/groups/opt_out.