Author: [email protected]
Date: Fri Jun 26 06:52:05 2009
New Revision: 2284
Modified:
branches/bleeding_edge/src/x64/codegen-x64.cc
Log:
X64 implementation: Store to lookup slots
Review URL: http://codereview.chromium.org/147203
Modified: branches/bleeding_edge/src/x64/codegen-x64.cc
==============================================================================
--- branches/bleeding_edge/src/x64/codegen-x64.cc (original)
+++ branches/bleeding_edge/src/x64/codegen-x64.cc Fri Jun 26 06:52:05 2009
@@ -3870,8 +3870,6 @@
// TODO(X64): Enable more types of slot.
if (slot->type() == Slot::LOOKUP) {
- UNIMPLEMENTED();
- /*
ASSERT(slot->var()->is_dynamic());
// For now, just do a runtime call. Since the call is inevitable,
@@ -3879,8 +3877,8 @@
// arguments into place.
frame_->SyncRange(0, frame_->element_count() - 1);
- frame_->EmitPush(esi);
- frame_->EmitPush(Immediate(slot->var()->name()));
+ frame_->EmitPush(rsi);
+ frame_->EmitPush(slot->var()->name());
Result value;
if (init_state == CONST_INIT) {
@@ -3906,7 +3904,6 @@
// stack. This is necessary for compiling chained assignment
// expressions.
frame_->Push(&value);
- */
} else {
ASSERT(!slot->var()->is_dynamic());
--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---