| Index: src/ia32/codegen-ia32.h
|
| diff --git a/src/ia32/codegen-ia32.h b/src/ia32/codegen-ia32.h
|
| index ed4eed36abc0140a13eb799dd356f40659d3a7b9..0fcea45dac61b488c8a586cc6a0a3f5cca24cade 100644
|
| --- a/src/ia32/codegen-ia32.h
|
| +++ b/src/ia32/codegen-ia32.h
|
| @@ -439,10 +439,21 @@ class CodeGenerator: public AstVisitor {
|
| // value in place.
|
| void StoreToSlot(Slot* slot, InitState init_state);
|
|
|
| - // Load a property of an object, returning it in a Result.
|
| - // The object and the property name are passed on the stack, and
|
| - // not changed.
|
| - Result EmitKeyedLoad(bool is_global);
|
| + // Support for compiling assignment expressions.
|
| + void EmitSlotAssignment(Assignment* node);
|
| + void EmitNamedPropertyAssignment(Assignment* node);
|
| + void EmitKeyedPropertyAssignment(Assignment* node);
|
| +
|
| + // Receiver is passed on the frame and consumed.
|
| + Result EmitNamedLoad(Handle<String> name, bool is_contextual);
|
| +
|
| + Result EmitNamedStore(Handle<String> name);
|
| +
|
| + // Receiver and key are passed on the frame and consumed.
|
| + Result EmitKeyedLoad();
|
| +
|
| + // Receiver, key, and value are passed on the frame and consumed.
|
| + Result EmitKeyedStore(StaticType* key_type);
|
|
|
| // Special code for typeof expressions: Unfortunately, we must
|
| // be careful when loading the expression in 'typeof'
|
|
|