Chromium Code Reviews| Index: src/runtime/runtime.h |
| diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h |
| index 2df020b6159862b62d6054962dff675153574f84..abe2b93a367f544be4c7562506b80e5d887346fd 100644 |
| --- a/src/runtime/runtime.h |
| +++ b/src/runtime/runtime.h |
| @@ -1154,6 +1154,20 @@ 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_GetOpmtimizationStatus. |
|
Michael Starzinger
2017/01/26 12:24:52
nit: s/Opmtimization/Optimization/
Igor Sheludko
2017/01/26 14:12:31
Done.
|
| +// 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, |
| + |
| + kIsOptmimizedFunctionMask = kIsFunction | kOptimized, |
|
Michael Starzinger
2017/01/26 12:24:52
nit: s/Optmimized/Optimized/, also I would vote fo
Igor Sheludko
2017/01/26 14:12:30
Removed.
|
| +}; |
| + |
| } // namespace internal |
| } // namespace v8 |