Chromium Code Reviews| 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). |
| * |