| Index: src/x64/codegen-x64.cc
|
| ===================================================================
|
| --- src/x64/codegen-x64.cc (revision 7018)
|
| +++ src/x64/codegen-x64.cc (working copy)
|
| @@ -4694,18 +4694,7 @@
|
|
|
| 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());
|
| }
|
|
|
|
|
|
|