| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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 #if V8_TARGET_ARCH_S390 | 5 #if V8_TARGET_ARCH_S390 |
| 6 | 6 |
| 7 #include "src/codegen.h" | 7 #include "src/codegen.h" |
| 8 #include "src/debug/debug.h" | 8 #include "src/debug/debug.h" |
| 9 #include "src/deoptimizer.h" | 9 #include "src/deoptimizer.h" |
| 10 #include "src/full-codegen/full-codegen.h" | 10 #include "src/full-codegen/full-codegen.h" |
| (...skipping 2716 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2727 __ LoadP(scratch, FieldMemOperand(spread_map, Map::kPrototypeOffset)); | 2727 __ LoadP(scratch, FieldMemOperand(spread_map, Map::kPrototypeOffset)); |
| 2728 __ LoadP(scratch2, NativeContextMemOperand()); | 2728 __ LoadP(scratch2, NativeContextMemOperand()); |
| 2729 __ LoadP(scratch2, | 2729 __ LoadP(scratch2, |
| 2730 ContextMemOperand(scratch2, Context::INITIAL_ARRAY_PROTOTYPE_INDEX)); | 2730 ContextMemOperand(scratch2, Context::INITIAL_ARRAY_PROTOTYPE_INDEX)); |
| 2731 __ CmpP(scratch, scratch2); | 2731 __ CmpP(scratch, scratch2); |
| 2732 __ bne(&runtime_call); | 2732 __ bne(&runtime_call); |
| 2733 | 2733 |
| 2734 // Check that the ArrayPrototype hasn't been modified in a way that would | 2734 // Check that the ArrayPrototype hasn't been modified in a way that would |
| 2735 // affect iteration. | 2735 // affect iteration. |
| 2736 __ LoadRoot(scratch, Heap::kArrayIteratorProtectorRootIndex); | 2736 __ LoadRoot(scratch, Heap::kArrayIteratorProtectorRootIndex); |
| 2737 __ LoadP(scratch, FieldMemOperand(scratch, Cell::kValueOffset)); | 2737 __ LoadP(scratch, FieldMemOperand(scratch, PropertyCell::kValueOffset)); |
| 2738 __ CmpSmiLiteral(scratch, Smi::FromInt(Isolate::kProtectorValid), r0); | 2738 __ CmpSmiLiteral(scratch, Smi::FromInt(Isolate::kProtectorValid), r0); |
| 2739 __ bne(&runtime_call); | 2739 __ bne(&runtime_call); |
| 2740 | 2740 |
| 2741 // Check that the map of the initial array iterator hasn't changed. | 2741 // Check that the map of the initial array iterator hasn't changed. |
| 2742 __ LoadP(scratch2, NativeContextMemOperand()); | 2742 __ LoadP(scratch2, NativeContextMemOperand()); |
| 2743 __ LoadP(scratch, | 2743 __ LoadP(scratch, |
| 2744 ContextMemOperand(scratch2, | 2744 ContextMemOperand(scratch2, |
| 2745 Context::INITIAL_ARRAY_ITERATOR_PROTOTYPE_INDEX)); | 2745 Context::INITIAL_ARRAY_ITERATOR_PROTOTYPE_INDEX)); |
| 2746 __ LoadP(scratch, FieldMemOperand(scratch, HeapObject::kMapOffset)); | 2746 __ LoadP(scratch, FieldMemOperand(scratch, HeapObject::kMapOffset)); |
| 2747 __ LoadP(scratch2, | 2747 __ LoadP(scratch2, |
| (...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3148 __ bkpt(0); | 3148 __ bkpt(0); |
| 3149 } | 3149 } |
| 3150 } | 3150 } |
| 3151 | 3151 |
| 3152 #undef __ | 3152 #undef __ |
| 3153 | 3153 |
| 3154 } // namespace internal | 3154 } // namespace internal |
| 3155 } // namespace v8 | 3155 } // namespace v8 |
| 3156 | 3156 |
| 3157 #endif // V8_TARGET_ARCH_S390 | 3157 #endif // V8_TARGET_ARCH_S390 |
| OLD | NEW |