| OLD | NEW | 
|---|
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. | 
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be | 
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. | 
| 4 | 4 | 
| 5 #include "src/v8.h" | 5 #include "src/v8.h" | 
| 6 | 6 | 
| 7 #if V8_TARGET_ARCH_X87 | 7 #if V8_TARGET_ARCH_X87 | 
| 8 | 8 | 
| 9 #include "src/codegen.h" | 9 #include "src/codegen.h" | 
| 10 #include "src/ic-inl.h" | 10 #include "src/ic-inl.h" | 
| (...skipping 1199 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1210   } | 1210   } | 
| 1211   __ ret(0); | 1211   __ ret(0); | 
| 1212 } | 1212 } | 
| 1213 | 1213 | 
| 1214 | 1214 | 
| 1215 #undef __ | 1215 #undef __ | 
| 1216 #define __ ACCESS_MASM(masm()) | 1216 #define __ ACCESS_MASM(masm()) | 
| 1217 | 1217 | 
| 1218 | 1218 | 
| 1219 Handle<Code> NamedLoadHandlerCompiler::CompileLoadGlobal( | 1219 Handle<Code> NamedLoadHandlerCompiler::CompileLoadGlobal( | 
| 1220     Handle<PropertyCell> cell, Handle<Name> name, bool is_dont_delete) { | 1220     Handle<PropertyCell> cell, Handle<Name> name, bool is_configurable) { | 
| 1221   Label miss; | 1221   Label miss; | 
| 1222 | 1222 | 
| 1223   FrontendHeader(receiver(), name, &miss); | 1223   FrontendHeader(receiver(), name, &miss); | 
| 1224   // Get the value from the cell. | 1224   // Get the value from the cell. | 
| 1225   Register result = StoreIC::ValueRegister(); | 1225   Register result = StoreIC::ValueRegister(); | 
| 1226   if (masm()->serializer_enabled()) { | 1226   if (masm()->serializer_enabled()) { | 
| 1227     __ mov(result, Immediate(cell)); | 1227     __ mov(result, Immediate(cell)); | 
| 1228     __ mov(result, FieldOperand(result, PropertyCell::kValueOffset)); | 1228     __ mov(result, FieldOperand(result, PropertyCell::kValueOffset)); | 
| 1229   } else { | 1229   } else { | 
| 1230     __ mov(result, Operand::ForCell(cell)); | 1230     __ mov(result, Operand::ForCell(cell)); | 
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1354   // ----------------------------------- | 1354   // ----------------------------------- | 
| 1355   TailCallBuiltin(masm, Builtins::kKeyedLoadIC_Miss); | 1355   TailCallBuiltin(masm, Builtins::kKeyedLoadIC_Miss); | 
| 1356 } | 1356 } | 
| 1357 | 1357 | 
| 1358 | 1358 | 
| 1359 #undef __ | 1359 #undef __ | 
| 1360 | 1360 | 
| 1361 } }  // namespace v8::internal | 1361 } }  // namespace v8::internal | 
| 1362 | 1362 | 
| 1363 #endif  // V8_TARGET_ARCH_X87 | 1363 #endif  // V8_TARGET_ARCH_X87 | 
| OLD | NEW | 
|---|