1 | // Copyright 2018 the V8 project authors. All rights reserved. |
2 | // Use of this source code is governed by a BSD-style license that can be |
3 | // found in the LICENSE file. |
4 | |
5 | #ifndef V8_WASM_WASM_TIER_H_ |
6 | #define V8_WASM_WASM_TIER_H_ |
7 | |
8 | #include <cstdint> |
9 | |
10 | namespace v8 { |
11 | namespace internal { |
12 | namespace wasm { |
13 | |
14 | // All the tiers of WASM execution. |
15 | enum class ExecutionTier : int8_t { |
16 | kNone, |
17 | kInterpreter, |
18 | kLiftoff, |
19 | kTurbofan, |
20 | }; |
21 | |
22 | } // namespace wasm |
23 | } // namespace internal |
24 | } // namespace v8 |
25 | |
26 | #endif // V8_WASM_WASM_TIER_H_ |
27 | |