| Index: src/compiler.h
|
| diff --git a/src/compiler.h b/src/compiler.h
|
| index cbcfec6a9f35cff263464a93f70adb12bf40c954..8f478c477ca74cfbb1d69f4d991552f119196ac2 100644
|
| --- a/src/compiler.h
|
| +++ b/src/compiler.h
|
| @@ -9,6 +9,7 @@
|
| #include "src/ast.h"
|
| #include "src/bailout-reason.h"
|
| #include "src/compilation-dependencies.h"
|
| +#include "src/signature.h"
|
| #include "src/zone.h"
|
|
|
| namespace v8 {
|
| @@ -293,6 +294,11 @@ class CompilationInfo {
|
| optimization_id_ = isolate()->NextOptimizationId();
|
| }
|
|
|
| + void SetFunctionType(Type::FunctionType* function_type) {
|
| + function_type_ = function_type;
|
| + }
|
| + Type::FunctionType* function_type() const { return function_type_; }
|
| +
|
| void SetStub(CodeStub* code_stub) {
|
| SetMode(STUB);
|
| code_stub_ = code_stub;
|
| @@ -484,6 +490,8 @@ class CompilationInfo {
|
|
|
| int osr_expr_stack_height_;
|
|
|
| + Type::FunctionType* function_type_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(CompilationInfo);
|
| };
|
|
|
|
|