| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 #ifndef V8_CODE_STUBS_H_ | 5 #ifndef V8_CODE_STUBS_H_ |
| 6 #define V8_CODE_STUBS_H_ | 6 #define V8_CODE_STUBS_H_ |
| 7 | 7 |
| 8 #include "allocation.h" | 8 #include "src/allocation.h" |
| 9 #include "assembler.h" | 9 #include "src/assembler.h" |
| 10 #include "codegen.h" | 10 #include "src/codegen.h" |
| 11 #include "globals.h" | 11 #include "src/globals.h" |
| 12 #include "macro-assembler.h" | 12 #include "src/macro-assembler.h" |
| 13 | 13 |
| 14 namespace v8 { | 14 namespace v8 { |
| 15 namespace internal { | 15 namespace internal { |
| 16 | 16 |
| 17 // List of code stubs used on all platforms. | 17 // List of code stubs used on all platforms. |
| 18 #define CODE_STUB_LIST_ALL_PLATFORMS(V) \ | 18 #define CODE_STUB_LIST_ALL_PLATFORMS(V) \ |
| 19 V(CallFunction) \ | 19 V(CallFunction) \ |
| 20 V(CallConstruct) \ | 20 V(CallConstruct) \ |
| 21 V(BinaryOpIC) \ | 21 V(BinaryOpIC) \ |
| 22 V(BinaryOpICWithAllocationSite) \ | 22 V(BinaryOpICWithAllocationSite) \ |
| (...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 430 RuntimeCallHelper() {} | 430 RuntimeCallHelper() {} |
| 431 | 431 |
| 432 private: | 432 private: |
| 433 DISALLOW_COPY_AND_ASSIGN(RuntimeCallHelper); | 433 DISALLOW_COPY_AND_ASSIGN(RuntimeCallHelper); |
| 434 }; | 434 }; |
| 435 | 435 |
| 436 | 436 |
| 437 } } // namespace v8::internal | 437 } } // namespace v8::internal |
| 438 | 438 |
| 439 #if V8_TARGET_ARCH_IA32 | 439 #if V8_TARGET_ARCH_IA32 |
| 440 #include "ia32/code-stubs-ia32.h" | 440 #include "src/ia32/code-stubs-ia32.h" |
| 441 #elif V8_TARGET_ARCH_X64 | 441 #elif V8_TARGET_ARCH_X64 |
| 442 #include "x64/code-stubs-x64.h" | 442 #include "src/x64/code-stubs-x64.h" |
| 443 #elif V8_TARGET_ARCH_ARM64 | 443 #elif V8_TARGET_ARCH_ARM64 |
| 444 #include "arm64/code-stubs-arm64.h" | 444 #include "src/arm64/code-stubs-arm64.h" |
| 445 #elif V8_TARGET_ARCH_ARM | 445 #elif V8_TARGET_ARCH_ARM |
| 446 #include "arm/code-stubs-arm.h" | 446 #include "src/arm/code-stubs-arm.h" |
| 447 #elif V8_TARGET_ARCH_MIPS | 447 #elif V8_TARGET_ARCH_MIPS |
| 448 #include "mips/code-stubs-mips.h" | 448 #include "src/mips/code-stubs-mips.h" |
| 449 #elif V8_TARGET_ARCH_X87 | 449 #elif V8_TARGET_ARCH_X87 |
| 450 #include "x87/code-stubs-x87.h" | 450 #include "src/x87/code-stubs-x87.h" |
| 451 #else | 451 #else |
| 452 #error Unsupported target architecture. | 452 #error Unsupported target architecture. |
| 453 #endif | 453 #endif |
| 454 | 454 |
| 455 namespace v8 { | 455 namespace v8 { |
| 456 namespace internal { | 456 namespace internal { |
| 457 | 457 |
| 458 | 458 |
| 459 // RuntimeCallHelper implementation used in stubs: enters/leaves a | 459 // RuntimeCallHelper implementation used in stubs: enters/leaves a |
| 460 // newly created internal frame before/after the runtime call. | 460 // newly created internal frame before/after the runtime call. |
| (...skipping 2014 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2475 | 2475 |
| 2476 | 2476 |
| 2477 class CallDescriptors { | 2477 class CallDescriptors { |
| 2478 public: | 2478 public: |
| 2479 static void InitializeForIsolate(Isolate* isolate); | 2479 static void InitializeForIsolate(Isolate* isolate); |
| 2480 }; | 2480 }; |
| 2481 | 2481 |
| 2482 } } // namespace v8::internal | 2482 } } // namespace v8::internal |
| 2483 | 2483 |
| 2484 #endif // V8_CODE_STUBS_H_ | 2484 #endif // V8_CODE_STUBS_H_ |
| OLD | NEW |