| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
| 2 // | 2 // |
| 3 // Use of this source code is governed by a BSD-style license that can be | 3 // Use of this source code is governed by a BSD-style license that can be |
| 4 // found in the LICENSE file. | 4 // found in the LICENSE file. |
| 5 | 5 |
| 6 #include "src/crankshaft/s390/lithium-codegen-s390.h" | 6 #include "src/crankshaft/s390/lithium-codegen-s390.h" |
| 7 | 7 |
| 8 #include "src/base/bits.h" | 8 #include "src/base/bits.h" |
| 9 #include "src/code-factory.h" | 9 #include "src/code-factory.h" |
| 10 #include "src/code-stubs.h" | 10 #include "src/code-stubs.h" |
| (...skipping 5645 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5656 __ LoadP(result, FieldMemOperand(object, JSObject::kPropertiesOffset)); | 5656 __ LoadP(result, FieldMemOperand(object, JSObject::kPropertiesOffset)); |
| 5657 // Index is equal to negated out of object property index plus 1. | 5657 // Index is equal to negated out of object property index plus 1. |
| 5658 __ SmiToPtrArrayOffset(r0, index); | 5658 __ SmiToPtrArrayOffset(r0, index); |
| 5659 __ SubP(scratch, result, r0); | 5659 __ SubP(scratch, result, r0); |
| 5660 __ LoadP(result, | 5660 __ LoadP(result, |
| 5661 FieldMemOperand(scratch, FixedArray::kHeaderSize - kPointerSize)); | 5661 FieldMemOperand(scratch, FixedArray::kHeaderSize - kPointerSize)); |
| 5662 __ bind(deferred->exit()); | 5662 __ bind(deferred->exit()); |
| 5663 __ bind(&done); | 5663 __ bind(&done); |
| 5664 } | 5664 } |
| 5665 | 5665 |
| 5666 void LCodeGen::DoStoreFrameContext(LStoreFrameContext* instr) { | 5666 #undef __ |
| 5667 Register context = ToRegister(instr->context()); | |
| 5668 __ StoreP(context, MemOperand(fp, StandardFrameConstants::kContextOffset)); | |
| 5669 } | |
| 5670 | 5667 |
| 5671 #undef __ | |
| 5672 } // namespace internal | 5668 } // namespace internal |
| 5673 } // namespace v8 | 5669 } // namespace v8 |
| OLD | NEW |