| Index: src/compiler.h
|
| diff --git a/src/compiler.h b/src/compiler.h
|
| index f87a3399401cd067dba1ca72e1537bc0d753138b..6a3c5b2b08a65ea23afce0d7ea0ccffa68fec192 100644
|
| --- a/src/compiler.h
|
| +++ b/src/compiler.h
|
| @@ -128,8 +128,7 @@
|
| kSplittingEnabled = 1 << 13,
|
| kTypeFeedbackEnabled = 1 << 14,
|
| kDeoptimizationEnabled = 1 << 15,
|
| - kSourcePositionsEnabled = 1 << 16,
|
| - kFirstCompile = 1 << 17,
|
| + kSourcePositionsEnabled = 1 << 16
|
| };
|
|
|
| explicit CompilationInfo(ParseInfo* parse_info);
|
| @@ -247,10 +246,6 @@
|
|
|
| bool is_splitting_enabled() const { return GetFlag(kSplittingEnabled); }
|
|
|
| - void MarkAsFirstCompile() { SetFlag(kFirstCompile); }
|
| -
|
| - bool is_first_compile() const { return GetFlag(kFirstCompile); }
|
| -
|
| bool IsCodePreAgingActive() const {
|
| return FLAG_optimize_for_size && FLAG_age_code && !will_serialize() &&
|
| !is_debug();
|
| @@ -651,8 +646,9 @@
|
| int source_length);
|
|
|
| // Create a shared function info object (the code may be lazily compiled).
|
| - static Handle<SharedFunctionInfo> GetSharedFunctionInfo(
|
| - FunctionLiteral* node, Handle<Script> script, CompilationInfo* outer);
|
| + static Handle<SharedFunctionInfo> BuildFunctionInfo(FunctionLiteral* node,
|
| + Handle<Script> script,
|
| + CompilationInfo* outer);
|
|
|
| enum ConcurrencyMode { NOT_CONCURRENT, CONCURRENT };
|
|
|
|
|