OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 "v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #include "arm64/lithium-codegen-arm64.h" | 7 #include "src/arm64/lithium-codegen-arm64.h" |
8 #include "arm64/lithium-gap-resolver-arm64.h" | 8 #include "src/arm64/lithium-gap-resolver-arm64.h" |
9 #include "code-stubs.h" | 9 #include "src/code-stubs.h" |
10 #include "stub-cache.h" | 10 #include "src/stub-cache.h" |
11 #include "hydrogen-osr.h" | 11 #include "src/hydrogen-osr.h" |
12 | 12 |
13 namespace v8 { | 13 namespace v8 { |
14 namespace internal { | 14 namespace internal { |
15 | 15 |
16 | 16 |
17 class SafepointGenerator V8_FINAL : public CallWrapper { | 17 class SafepointGenerator V8_FINAL : public CallWrapper { |
18 public: | 18 public: |
19 SafepointGenerator(LCodeGen* codegen, | 19 SafepointGenerator(LCodeGen* codegen, |
20 LPointerMap* pointers, | 20 LPointerMap* pointers, |
21 Safepoint::DeoptMode mode) | 21 Safepoint::DeoptMode mode) |
(...skipping 5981 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6003 __ Ldr(result, FieldMemOperand(object, JSObject::kPropertiesOffset)); | 6003 __ Ldr(result, FieldMemOperand(object, JSObject::kPropertiesOffset)); |
6004 // Index is equal to negated out of object property index plus 1. | 6004 // Index is equal to negated out of object property index plus 1. |
6005 __ Sub(result, result, Operand::UntagSmiAndScale(index, kPointerSizeLog2)); | 6005 __ Sub(result, result, Operand::UntagSmiAndScale(index, kPointerSizeLog2)); |
6006 __ Ldr(result, FieldMemOperand(result, | 6006 __ Ldr(result, FieldMemOperand(result, |
6007 FixedArray::kHeaderSize - kPointerSize)); | 6007 FixedArray::kHeaderSize - kPointerSize)); |
6008 __ Bind(deferred->exit()); | 6008 __ Bind(deferred->exit()); |
6009 __ Bind(&done); | 6009 __ Bind(&done); |
6010 } | 6010 } |
6011 | 6011 |
6012 } } // namespace v8::internal | 6012 } } // namespace v8::internal |
OLD | NEW |