| Index: src/compiler.h
|
| diff --git a/src/compiler.h b/src/compiler.h
|
| index a56fa13c488eb6f511aef99f4e525e99721e7732..e6b5f8df550b2715e7156de2b01f7d0abd79f2ff 100644
|
| --- a/src/compiler.h
|
| +++ b/src/compiler.h
|
| @@ -116,6 +116,11 @@ class CompilationInfo {
|
| bool has_bytecode_array() const { return !bytecode_array_.is_null(); }
|
| Handle<BytecodeArray> bytecode_array() const { return bytecode_array_; }
|
|
|
| + Handle<AbstractCode> abstract_code() const {
|
| + return has_bytecode_array() ? Handle<AbstractCode>::cast(bytecode_array())
|
| + : Handle<AbstractCode>::cast(code());
|
| + }
|
| +
|
| bool is_tracking_positions() const { return track_positions_; }
|
|
|
| bool is_calling() const {
|
|
|