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

Unified Diff: include/v8.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
« no previous file with comments | « no previous file | src/accessors.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/v8.h
diff --git a/include/v8.h b/include/v8.h
index 3252602bcf19d8fabba52e0c7fbbd274615f7ff2..513ae1378bb910505f28e7240c5954a7af5e58d2 100644
--- a/include/v8.h
+++ b/include/v8.h
@@ -978,6 +978,12 @@ class ScriptOrigin {
*/
class V8_EXPORT Script {
public:
+ // Script compilation types.
+ enum CompilationType {
Michael Starzinger 2013/08/19 19:42:28 We try not to expose internal behavior (and consta
+ COMPILATION_TYPE_HOST = 0,
+ COMPILATION_TYPE_EVAL = 1
+ };
+
/**
* Compiles the specified script (context-independent).
*
« no previous file with comments | « no previous file | src/accessors.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698