| Index: src/compiler.h
|
| diff --git a/src/compiler.h b/src/compiler.h
|
| index 56de2b60aec47c7aee914e95bfc445137b75aac6..c90bf91e596c8376062f6c770e03e4273752a47e 100644
|
| --- a/src/compiler.h
|
| +++ b/src/compiler.h
|
| @@ -384,6 +384,14 @@ class CompilationInfo {
|
|
|
| Handle<Code> GenerateCodeStub();
|
|
|
| + typedef std::vector<Handle<SharedFunctionInfo>> InlinedFunctionList;
|
| + InlinedFunctionList const& inlined_functions() const {
|
| + return inlined_functions_;
|
| + }
|
| + void AddInlinedFunction(Handle<SharedFunctionInfo> inlined_function) {
|
| + inlined_functions_.push_back(inlined_function);
|
| + }
|
| +
|
| protected:
|
| ParseInfo* parse_info_;
|
|
|
| @@ -458,6 +466,8 @@ class CompilationInfo {
|
| std::vector<InlinedFunctionInfo> inlined_function_infos_;
|
| bool track_positions_;
|
|
|
| + InlinedFunctionList inlined_functions_;
|
| +
|
| // A copy of shared_info()->opt_count() to avoid handle deref
|
| // during graph optimization.
|
| int opt_count_;
|
|
|