| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index f800c5d580eace363c14b94ac947af8cec798fc7..f46a3e96954b79a367072580e1b87ddafd80e774 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -6083,12 +6083,6 @@ class Script: public Struct {
|
| TYPE_NORMAL = 2
|
| };
|
|
|
| - // Script compilation types.
|
| - enum CompilationType {
|
| - COMPILATION_TYPE_HOST = 0,
|
| - COMPILATION_TYPE_EVAL = 1
|
| - };
|
| -
|
| // Script compilation state.
|
| enum CompilationState {
|
| COMPILATION_STATE_INITIAL = 0,
|
| @@ -6139,8 +6133,8 @@ class Script: public Struct {
|
|
|
| // [compilation_type]: how the the script was compiled. Encoded in the
|
| // 'flags' field.
|
| - inline CompilationType compilation_type();
|
| - inline void set_compilation_type(CompilationType type);
|
| + inline v8::Script::CompilationType compilation_type();
|
| + inline void set_compilation_type(v8::Script::CompilationType type);
|
|
|
| // [compilation_state]: determines whether the script has already been
|
| // compiled. Encoded in the 'flags' field.
|
|
|