Index: src/arm/codegen-arm.h |
=================================================================== |
--- src/arm/codegen-arm.h (revision 4644) |
+++ src/arm/codegen-arm.h (working copy) |
@@ -314,6 +314,7 @@ |
// Read a value from a slot and leave it on top of the expression stack. |
void LoadFromSlot(Slot* slot, TypeofState typeof_state); |
void LoadFromSlotCheckForArguments(Slot* slot, TypeofState state); |
+ |
// Store the value on top of the stack to a slot. |
void StoreToSlot(Slot* slot, InitState init_state); |
@@ -343,6 +344,15 @@ |
TypeofState typeof_state, |
JumpTarget* slow); |
+ // Support for loading from local/global variables and arguments |
+ // whose location is known unless they are shadowed by |
+ // eval-introduced bindings. Generates no code for unsupported slot |
+ // types and therefore expects to fall through to the slow jump target. |
+ void EmitDynamicLoadFromSlotFastCase(Slot* slot, |
+ TypeofState typeof_state, |
+ JumpTarget* slow, |
+ JumpTarget* done); |
+ |
// Special code for typeof expressions: Unfortunately, we must |
// be careful when loading the expression in 'typeof' |
// expressions. We are not allowed to throw reference errors for |