Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(159)

Side by Side Diff: src/runtime/runtime.h

Issue 2731523005: [wasm] Lazy compilation for asm.js (Closed)
Patch Set: [wasm] Lazy compilation for asm.js Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/flag-definitions.h ('k') | src/runtime/runtime-wasm.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 621 matching lines...) Expand 10 before | Expand all | Expand 10 after
632 632
633 #define FOR_EACH_INTRINSIC_WASM(F) \ 633 #define FOR_EACH_INTRINSIC_WASM(F) \
634 F(WasmGrowMemory, 1, 1) \ 634 F(WasmGrowMemory, 1, 1) \
635 F(WasmMemorySize, 0, 1) \ 635 F(WasmMemorySize, 0, 1) \
636 F(ThrowWasmError, 2, 1) \ 636 F(ThrowWasmError, 2, 1) \
637 F(ThrowWasmErrorFromTrapIf, 1, 1) \ 637 F(ThrowWasmErrorFromTrapIf, 1, 1) \
638 F(WasmThrowTypeError, 0, 1) \ 638 F(WasmThrowTypeError, 0, 1) \
639 F(WasmThrow, 2, 1) \ 639 F(WasmThrow, 2, 1) \
640 F(WasmGetCaughtExceptionValue, 1, 1) \ 640 F(WasmGetCaughtExceptionValue, 1, 1) \
641 F(WasmRunInterpreter, 3, 1) \ 641 F(WasmRunInterpreter, 3, 1) \
642 F(WasmStackGuard, 0, 1) 642 F(WasmStackGuard, 0, 1) \
643 F(WasmCompileLazy, 0, 1)
643 644
644 #define FOR_EACH_INTRINSIC_RETURN_PAIR(F) \ 645 #define FOR_EACH_INTRINSIC_RETURN_PAIR(F) \
645 F(LoadLookupSlotForCall, 1, 2) 646 F(LoadLookupSlotForCall, 1, 2)
646 647
647 #define FOR_EACH_INTRINSIC_RETURN_TRIPLE(F) \ 648 #define FOR_EACH_INTRINSIC_RETURN_TRIPLE(F) \
648 F(ForInPrepare, 1, 3) 649 F(ForInPrepare, 1, 3)
649 650
650 // Most intrinsics are implemented in the runtime/ directory, but ICs are 651 // Most intrinsics are implemented in the runtime/ directory, but ICs are
651 // implemented in ic.cc for now. 652 // implemented in ic.cc for now.
652 #define FOR_EACH_INTRINSIC_IC(F) \ 653 #define FOR_EACH_INTRINSIC_IC(F) \
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
853 kMaybeDeopted = 1 << 3, 854 kMaybeDeopted = 1 << 3,
854 kOptimized = 1 << 4, 855 kOptimized = 1 << 4,
855 kTurboFanned = 1 << 5, 856 kTurboFanned = 1 << 5,
856 kInterpreted = 1 << 6, 857 kInterpreted = 1 << 6,
857 }; 858 };
858 859
859 } // namespace internal 860 } // namespace internal
860 } // namespace v8 861 } // namespace v8
861 862
862 #endif // V8_RUNTIME_RUNTIME_H_ 863 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/flag-definitions.h ('k') | src/runtime/runtime-wasm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698