| Index: src/globals.h
|
| diff --git a/src/globals.h b/src/globals.h
|
| index ef63678e6df4034c0762254f6948ee18f9082f3b..4a81c57073c6a074fadfe0e072a97172f8aa347d 100644
|
| --- a/src/globals.h
|
| +++ b/src/globals.h
|
| @@ -603,6 +603,14 @@ enum ParseRestriction {
|
| ONLY_SINGLE_FUNCTION_LITERAL // Only a single FunctionLiteral expression.
|
| };
|
|
|
| +// TODO(gsathya): Move this to JSPromise once we create it.
|
| +// This should be in sync with the constants in promise.js
|
| +enum PromiseStatus {
|
| + kPromisePending,
|
| + kPromiseFulfilled,
|
| + kPromiseRejected,
|
| +};
|
| +
|
| // A CodeDesc describes a buffer holding instructions and relocation
|
| // information. The instructions start at the beginning of the buffer
|
| // and grow forward, the relocation information starts at the end of
|
|
|