Chromium Code Reviews| Index: src/x64/assembler-x64.cc |
| =================================================================== |
| --- src/x64/assembler-x64.cc (revision 7153) |
| +++ src/x64/assembler-x64.cc (working copy) |
| @@ -1599,6 +1599,11 @@ |
| } |
| +void Assembler::movq(Register dst, Smi* value) { |
| + movq(dst, reinterpret_cast<int64_t>(value), RelocInfo::NONE); |
|
Lasse Reichstein
2011/03/14 08:51:01
Please consider using LoadSmi instead. It tries to
Erik Corry
2011/03/14 16:26:45
Used LoadSmiConstant
|
| +} |
| + |
| + |
| void Assembler::movq(Register dst, int64_t value, RelocInfo::Mode rmode) { |
| // Non-relocatable values might not need a 64-bit representation. |
| if (rmode == RelocInfo::NONE) { |