| 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_RUNTIME_RUNTIME_H_ | 5 #ifndef V8_RUNTIME_RUNTIME_H_ |
| 6 #define V8_RUNTIME_RUNTIME_H_ | 6 #define V8_RUNTIME_RUNTIME_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
| (...skipping 611 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 622 | 622 |
| 623 #define FOR_EACH_INTRINSIC_WASM(F) \ | 623 #define FOR_EACH_INTRINSIC_WASM(F) \ |
| 624 F(WasmGrowMemory, 1, 1) \ | 624 F(WasmGrowMemory, 1, 1) \ |
| 625 F(WasmMemorySize, 0, 1) \ | 625 F(WasmMemorySize, 0, 1) \ |
| 626 F(ThrowWasmError, 2, 1) \ | 626 F(ThrowWasmError, 2, 1) \ |
| 627 F(ThrowWasmErrorFromTrapIf, 1, 1) \ | 627 F(ThrowWasmErrorFromTrapIf, 1, 1) \ |
| 628 F(WasmThrowTypeError, 0, 1) \ | 628 F(WasmThrowTypeError, 0, 1) \ |
| 629 F(WasmThrow, 2, 1) \ | 629 F(WasmThrow, 2, 1) \ |
| 630 F(WasmGetCaughtExceptionValue, 1, 1) \ | 630 F(WasmGetCaughtExceptionValue, 1, 1) \ |
| 631 F(WasmRunInterpreter, 3, 1) \ | 631 F(WasmRunInterpreter, 3, 1) \ |
| 632 F(WasmStackGuard, 0, 1) | 632 F(WasmStackGuard, 0, 1) \ |
| 633 F(SetThreadInWasm, 0, 1) \ |
| 634 F(ClearThreadInWasm, 0, 1) |
| 633 | 635 |
| 634 #define FOR_EACH_INTRINSIC_RETURN_PAIR(F) \ | 636 #define FOR_EACH_INTRINSIC_RETURN_PAIR(F) \ |
| 635 F(LoadLookupSlotForCall, 1, 2) | 637 F(LoadLookupSlotForCall, 1, 2) |
| 636 | 638 |
| 637 #define FOR_EACH_INTRINSIC_RETURN_TRIPLE(F) \ | 639 #define FOR_EACH_INTRINSIC_RETURN_TRIPLE(F) \ |
| 638 F(ForInPrepare, 1, 3) | 640 F(ForInPrepare, 1, 3) |
| 639 | 641 |
| 640 // Most intrinsics are implemented in the runtime/ directory, but ICs are | 642 // Most intrinsics are implemented in the runtime/ directory, but ICs are |
| 641 // implemented in ic.cc for now. | 643 // implemented in ic.cc for now. |
| 642 #define FOR_EACH_INTRINSIC_IC(F) \ | 644 #define FOR_EACH_INTRINSIC_IC(F) \ |
| (...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 843 kMaybeDeopted = 1 << 3, | 845 kMaybeDeopted = 1 << 3, |
| 844 kOptimized = 1 << 4, | 846 kOptimized = 1 << 4, |
| 845 kTurboFanned = 1 << 5, | 847 kTurboFanned = 1 << 5, |
| 846 kInterpreted = 1 << 6, | 848 kInterpreted = 1 << 6, |
| 847 }; | 849 }; |
| 848 | 850 |
| 849 } // namespace internal | 851 } // namespace internal |
| 850 } // namespace v8 | 852 } // namespace v8 |
| 851 | 853 |
| 852 #endif // V8_RUNTIME_RUNTIME_H_ | 854 #endif // V8_RUNTIME_RUNTIME_H_ |
| OLD | NEW |