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 #if V8_TARGET_ARCH_ARM64 | 7 #if V8_TARGET_ARCH_ARM64 |
8 | 8 |
9 #include "arm64/assembler-arm64.h" | 9 #include "src/arm64/assembler-arm64.h" |
10 #include "code-stubs.h" | 10 #include "src/code-stubs.h" |
11 #include "codegen.h" | 11 #include "src/codegen.h" |
12 #include "disasm.h" | 12 #include "src/disasm.h" |
13 #include "ic-inl.h" | 13 #include "src/ic-inl.h" |
14 #include "runtime.h" | 14 #include "src/runtime.h" |
15 #include "stub-cache.h" | 15 #include "src/stub-cache.h" |
16 | 16 |
17 namespace v8 { | 17 namespace v8 { |
18 namespace internal { | 18 namespace internal { |
19 | 19 |
20 | 20 |
21 #define __ ACCESS_MASM(masm) | 21 #define __ ACCESS_MASM(masm) |
22 | 22 |
23 | 23 |
24 // "type" holds an instance type on entry and is not clobbered. | 24 // "type" holds an instance type on entry and is not clobbered. |
25 // Generated code branch on "global_object" if type is any kind of global | 25 // Generated code branch on "global_object" if type is any kind of global |
(...skipping 1348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1374 ASSERT(to_patch->Mask(TestBranchMask) == TBNZ); | 1374 ASSERT(to_patch->Mask(TestBranchMask) == TBNZ); |
1375 // This is JumpIfSmi(smi_reg, branch_imm). | 1375 // This is JumpIfSmi(smi_reg, branch_imm). |
1376 patcher.tbz(smi_reg, 0, branch_imm); | 1376 patcher.tbz(smi_reg, 0, branch_imm); |
1377 } | 1377 } |
1378 } | 1378 } |
1379 | 1379 |
1380 | 1380 |
1381 } } // namespace v8::internal | 1381 } } // namespace v8::internal |
1382 | 1382 |
1383 #endif // V8_TARGET_ARCH_ARM64 | 1383 #endif // V8_TARGET_ARCH_ARM64 |
OLD | NEW |