Index: src/x64/codegen-x64.cc |
diff --git a/src/x64/codegen-x64.cc b/src/x64/codegen-x64.cc |
index 6a71e6f57535be9f09718bd7a6e94d06d3f0bf64..ad114c243108bbf89e2e336f873398a8ddfcfea5 100644 |
--- a/src/x64/codegen-x64.cc |
+++ b/src/x64/codegen-x64.cc |
@@ -4696,18 +4696,7 @@ void CodeGenerator::VisitVariableProxy(VariableProxy* node) { |
void CodeGenerator::VisitLiteral(Literal* node) { |
Comment cmnt(masm_, "[ Literal"); |
- if (frame_->ConstantPoolOverflowed()) { |
- Result temp = allocator_->Allocate(); |
- ASSERT(temp.is_valid()); |
- if (node->handle()->IsSmi()) { |
- __ Move(temp.reg(), Smi::cast(*node->handle())); |
- } else { |
- __ movq(temp.reg(), node->handle(), RelocInfo::EMBEDDED_OBJECT); |
- } |
- frame_->Push(&temp); |
- } else { |
- frame_->Push(node->handle()); |
- } |
+ frame_->Push(node->handle()); |
} |