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 namespace v8 { 9 namespace internal { 10 namespace wasm { 11 12 // All the tiers of WASM execution. 13 enum class ExecutionTier { 14 kInterpreter, // interpreter (used to provide debugging services). 15 kBaseline, // Liftoff. 16 kOptimized // TurboFan. 17 }; 18 19 } // namespace wasm 20 } // namespace internal 21 } // namespace v8 22 23 #endif // V8_WASM_WASM_TIER_H_ 24