| Index: src/ic/ia32/handler-compiler-ia32.cc
|
| diff --git a/src/ic/ia32/handler-compiler-ia32.cc b/src/ic/ia32/handler-compiler-ia32.cc
|
| index 8f5200aee63b8d4f119e97eabf75d33bd38efd19..151b22f176f27b1a39a7267832a774827dafafb8 100644
|
| --- a/src/ic/ia32/handler-compiler-ia32.cc
|
| +++ b/src/ic/ia32/handler-compiler-ia32.cc
|
| @@ -354,11 +354,20 @@ void NamedStoreHandlerCompiler::GenerateRestoreName(Handle<Name> name) {
|
| }
|
|
|
|
|
| +void NamedStoreHandlerCompiler::GeneratePushMap(Register map_reg,
|
| + Register scratch) {
|
| + // Get the return address, push the argument and then continue.
|
| + __ pop(scratch);
|
| + __ push(map_reg);
|
| + __ push(scratch);
|
| +}
|
| +
|
| +
|
| void NamedStoreHandlerCompiler::GenerateRestoreMap(Handle<Map> transition,
|
| + Register map_reg,
|
| Register scratch,
|
| Label* miss) {
|
| Handle<WeakCell> cell = Map::WeakCellForMap(transition);
|
| - Register map_reg = StoreTransitionDescriptor::MapRegister();
|
| DCHECK(!map_reg.is(scratch));
|
| __ LoadWeakValue(map_reg, cell, miss);
|
| if (transition->CanBeDeprecated()) {
|
|
|