Revision: 18282
Author: [email protected]
Date: Mon Dec 9 16:41:42 2013 UTC
Log: x64: save a bit code size
It would be better use macro always
BUG=
[email protected]
Review URL: https://chromiumcodereview.appspot.com/100843002
Patch from Weiliang Lin <[email protected]>.
http://code.google.com/p/v8/source/detail?r=18282
Modified:
/branches/bleeding_edge/src/x64/lithium-gap-resolver-x64.cc
=======================================
--- /branches/bleeding_edge/src/x64/lithium-gap-resolver-x64.cc Thu Nov 7
08:14:27 2013 UTC
+++ /branches/bleeding_edge/src/x64/lithium-gap-resolver-x64.cc Mon Dec 9
16:41:42 2013 UTC
@@ -198,7 +198,7 @@
if (cgen_->IsSmiConstant(constant_source)) {
__ Move(dst, cgen_->ToSmi(constant_source));
} else if (cgen_->IsInteger32Constant(constant_source)) {
- __ movl(dst, Immediate(cgen_->ToInteger32(constant_source)));
+ __ Set(dst, cgen_->ToInteger32(constant_source));
} else {
__ Move(dst, cgen_->ToHandle(constant_source));
}
--
--
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.