Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(381)

Unified Diff: src/compiler.h

Issue 1197703002: Use big-boy Types to annotate interface descriptor parameters (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Review feedback Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
};

Powered by Google App Engine
This is Rietveld 408576698