Add AssertSmi() in x64 MacroAssembler::SmiTest().
R=svenpanne@chromium.org Review URL: https://codereview.chromium.org/19647006 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15790 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
1b73068626
commit
e8a7302ec4
@ -1158,6 +1158,7 @@ void MacroAssembler::SmiToInteger64(Register dst, const Operand& src) {
|
||||
|
||||
|
||||
void MacroAssembler::SmiTest(Register src) {
|
||||
AssertSmi(src);
|
||||
testq(src, src);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user