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 "src/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #if V8_TARGET_ARCH_ARM64 | 7 #if V8_TARGET_ARCH_ARM64 |
8 | 8 |
9 #include "src/codegen.h" | 9 #include "src/codegen.h" |
10 #include "src/debug.h" | 10 #include "src/debug.h" |
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 __ Ldr(scratch, FieldMemOperand(scratch, SharedFunctionInfo::kCodeOffset)); | 337 __ Ldr(scratch, FieldMemOperand(scratch, SharedFunctionInfo::kCodeOffset)); |
338 __ Add(scratch, scratch, Code::kHeaderSize - kHeapObjectTag); | 338 __ Add(scratch, scratch, Code::kHeaderSize - kHeapObjectTag); |
339 | 339 |
340 // Re-run JSFunction, x1 is function, cp is context. | 340 // Re-run JSFunction, x1 is function, cp is context. |
341 __ Br(scratch); | 341 __ Br(scratch); |
342 } | 342 } |
343 | 343 |
344 | 344 |
345 const bool LiveEdit::kFrameDropperSupported = true; | 345 const bool LiveEdit::kFrameDropperSupported = true; |
346 | 346 |
347 } } // namespace v8::internal | 347 } // namespace internal |
| 348 } // namespace v8 |
348 | 349 |
349 #endif // V8_TARGET_ARCH_ARM64 | 350 #endif // V8_TARGET_ARCH_ARM64 |
OLD | NEW |