| Index: src/compiler.h
|
| diff --git a/src/compiler.h b/src/compiler.h
|
| index 82c0b874c4f1229d9e9af45d94a7a4e02f918384..00cd0f40b3ae8bc8d09f4ee417848423ce684466 100644
|
| --- a/src/compiler.h
|
| +++ b/src/compiler.h
|
| @@ -81,7 +81,8 @@ class CompilationInfo {
|
| kParseRestriction = 1 << 14,
|
| kSerializing = 1 << 15,
|
| kContextSpecializing = 1 << 16,
|
| - kInliningEnabled = 1 << 17
|
| + kInliningEnabled = 1 << 17,
|
| + kTypingEnabled = 1 << 18
|
| };
|
|
|
| CompilationInfo(Handle<JSFunction> closure, Zone* zone);
|
| @@ -191,6 +192,10 @@ class CompilationInfo {
|
|
|
| bool is_inlining_enabled() const { return GetFlag(kInliningEnabled); }
|
|
|
| + void MarkAsTypingEnabled() { SetFlag(kTypingEnabled); }
|
| +
|
| + bool is_typing_enabled() const { return GetFlag(kTypingEnabled); }
|
| +
|
| bool IsCodePreAgingActive() const {
|
| return FLAG_optimize_for_size && FLAG_age_code && !will_serialize() &&
|
| !is_debug();
|
|
|