Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(825)

Unified Diff: src/objects.h

Issue 22831010: Move enum CompilationType from objects.h to include/v8.h, (Closed) Base URL: git://github.com/v8/v8.git@master
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« include/v8.h ('K') | « src/isolate.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« include/v8.h ('K') | « src/isolate.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698