| Index: src/utils.h
|
| diff --git a/src/utils.h b/src/utils.h
|
| index 23f52f63be4b0449b49430709897d441223ff3fa..0426ce51cb7dd1ea5e49663fb4c71dcc1a6a8b2f 100644
|
| --- a/src/utils.h
|
| +++ b/src/utils.h
|
| @@ -1074,7 +1074,8 @@ class BailoutId {
|
| int ToInt() const { return id_; }
|
|
|
| static BailoutId None() { return BailoutId(kNoneId); }
|
| - static BailoutId Prologue() { return BailoutId(kPrologueId); }
|
| + static BailoutId ScriptContext() { return BailoutId(kScriptContextId); }
|
| + static BailoutId FunctionContext() { return BailoutId(kFunctionContextId); }
|
| static BailoutId FunctionEntry() { return BailoutId(kFunctionEntryId); }
|
| static BailoutId Declarations() { return BailoutId(kDeclarationsId); }
|
| static BailoutId FirstUsable() { return BailoutId(kFirstUsableId); }
|
| @@ -1090,19 +1091,20 @@ class BailoutId {
|
| static const int kNoneId = -1;
|
|
|
| // Using 0 could disguise errors.
|
| - static const int kPrologueId = 1;
|
| - static const int kFunctionEntryId = 2;
|
| + static const int kScriptContextId = 1;
|
| + static const int kFunctionContextId = 2;
|
| + static const int kFunctionEntryId = 3;
|
|
|
| // This AST id identifies the point after the declarations have been visited.
|
| // We need it to capture the environment effects of declarations that emit
|
| // code (function declarations).
|
| - static const int kDeclarationsId = 3;
|
| + static const int kDeclarationsId = 4;
|
|
|
| // Every FunctionState starts with this id.
|
| - static const int kFirstUsableId = 4;
|
| + static const int kFirstUsableId = 5;
|
|
|
| // Every compiled stub starts with this id.
|
| - static const int kStubEntryId = 5;
|
| + static const int kStubEntryId = 6;
|
|
|
| int id_;
|
| };
|
|
|