Revision: 15790
Author:   [email protected]
Date:     Mon Jul 22 00:09:13 2013
Log:      Add AssertSmi() in x64 MacroAssembler::SmiTest().

[email protected]

Review URL: https://codereview.chromium.org/19647006
http://code.google.com/p/v8/source/detail?r=15790

Modified:
 /branches/bleeding_edge/src/x64/macro-assembler-x64.cc

=======================================
--- /branches/bleeding_edge/src/x64/macro-assembler-x64.cc Fri Jul 19 06:30:49 2013 +++ /branches/bleeding_edge/src/x64/macro-assembler-x64.cc Mon Jul 22 00:09:13 2013
@@ -1158,6 +1158,7 @@


 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.


Reply via email to