Index: src/compiler.h |
diff --git a/src/compiler.h b/src/compiler.h |
index c90bf91e596c8376062f6c770e03e4273752a47e..6a3c5b2b08a65ea23afce0d7ea0ccffa68fec192 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 { |
@@ -288,6 +289,11 @@ class CompilationInfo { |
optimization_id_ = isolate()->NextOptimizationId(); |
} |
+ void SetFunctionType(Type::FunctionType* function_type) { |
Benedikt Meurer
2015/06/22 05:27:28
Nit: I think Type::FunctionType is an implementati
danno
2015/06/23 14:39:44
As discussed over chat with you and Jaro, I'm goin
rossberg
2015/06/29 12:29:34
FunctionType is not an implementation detail -- it
|
+ function_type_ = function_type; |
+ } |
+ Type::FunctionType* function_type() const { return function_type_; } |
+ |
void SetStub(CodeStub* code_stub) { |
SetMode(STUB); |
code_stub_ = code_stub; |
@@ -479,6 +485,8 @@ class CompilationInfo { |
int osr_expr_stack_height_; |
+ Type::FunctionType* function_type_; |
Benedikt Meurer
2015/06/22 05:27:28
See above.
|
+ |
DISALLOW_COPY_AND_ASSIGN(CompilationInfo); |
}; |