| Index: src/runtime/runtime.h
|
| diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h
|
| index 2df020b6159862b62d6054962dff675153574f84..1fcac99591ba0bf06654c004c4674892c1ddd6f3 100644
|
| --- a/src/runtime/runtime.h
|
| +++ b/src/runtime/runtime.h
|
| @@ -1154,6 +1154,18 @@ class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
|
| STATIC_ASSERT(LANGUAGE_END == 2);
|
| class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {};
|
|
|
| +// A set of bits returned by Runtime_GetOptimizationStatus.
|
| +// These bits must be in sync with bits defined in test/mjsunit/mjsunit.js
|
| +enum class OptimizationStatus {
|
| + kIsFunction = 1 << 0,
|
| + kNeverOptimize = 1 << 1,
|
| + kAlwaysOptimize = 1 << 2,
|
| + kMaybeDeopted = 1 << 3,
|
| + kOptimized = 1 << 4,
|
| + kTurboFanned = 1 << 5,
|
| + kInterpreted = 1 << 6,
|
| +};
|
| +
|
| } // namespace internal
|
| } // namespace v8
|
|
|
|
|