Index: src/x64/deoptimizer-x64.cc |
diff --git a/src/x64/deoptimizer-x64.cc b/src/x64/deoptimizer-x64.cc |
index 1a84a5711a86012a333160f2e2ca0ccd415d7bd6..daa912806d4cfd0579e2ba48c4df78e66f3d4b37 100644 |
--- a/src/x64/deoptimizer-x64.cc |
+++ b/src/x64/deoptimizer-x64.cc |
@@ -749,11 +749,8 @@ void Deoptimizer::EntryGenerator::Generate() { |
// Set up the roots register. |
ExternalReference roots_address = ExternalReference::roots_address(); |
- __ movq(r13, roots_address); |
- |
- __ movq(kSmiConstantRegister, |
- reinterpret_cast<uint64_t>(Smi::FromInt(kSmiConstantRegisterValue)), |
- RelocInfo::NONE); |
+ __ InitializeRootRegister(); |
+ __ InitializeSmiConstantRegister(); |
// Return to the continuation point. |
__ ret(0); |