Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(76)

Unified Diff: src/x64/codegen-x64.cc

Issue 6592098: Merge revision 7018 from bleeding_edge to 3.0 branch to fix... (Closed) Base URL: http://v8.googlecode.com/svn/branches/3.0/
Patch Set: Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/virtual-frame-heavy-inl.h ('k') | src/x64/virtual-frame-x64.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
}
« no previous file with comments | « src/virtual-frame-heavy-inl.h ('k') | src/x64/virtual-frame-x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698