| Index: include/v8.h
|
| diff --git a/include/v8.h b/include/v8.h
|
| index 82d5784514fa2075cc026b28780830d0cff24a87..fb72516989a7ce68ee80dedf583205a417b1c4fd 100644
|
| --- a/include/v8.h
|
| +++ b/include/v8.h
|
| @@ -1074,15 +1074,18 @@ class V8_EXPORT ScriptCompiler {
|
| Handle<Integer> resource_column_offset;
|
| Handle<Boolean> resource_is_shared_cross_origin;
|
|
|
| - // Cached data from previous compilation (if any), or generated during
|
| - // compilation (if the generate_cached_data flag is passed to
|
| - // ScriptCompiler).
|
| + // Cached data from previous compilation (if a kConsume*Cache flag is
|
| + // set), or hold newly generated cache data (kProduce*Cache flags) are
|
| + // set when calling a compile method.
|
| CachedData* cached_data;
|
| };
|
|
|
| enum CompileOptions {
|
| - kNoCompileOptions,
|
| - kProduceDataToCache = 1 << 0
|
| + kNoCompileOptions = 0,
|
| + kProduceParserCache,
|
| + kConsumeParserCache,
|
| + kProduceCodeCache,
|
| + kConsumeCodeCache
|
| };
|
|
|
| /**
|
|
|