Index: src/compiler.h |
diff --git a/src/compiler.h b/src/compiler.h |
index d36e488b174f9fbed7204ced0d5d6836c5afce1b..230aa4ee13230683a8244459f0fc6610c9103220 100644 |
--- a/src/compiler.h |
+++ b/src/compiler.h |
@@ -65,6 +65,7 @@ class CompilationInfo { |
return isolate_; |
} |
Zone* zone() { return zone_; } |
+ bool is_osr() const { return !osr_ast_id_.IsNone(); } |
bool is_lazy() const { return IsLazy::decode(flags_); } |
bool is_eval() const { return IsEval::decode(flags_); } |
bool is_global() const { return IsGlobal::decode(flags_); } |