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

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: Latest 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
« no previous file with comments | « src/code-stubs-hydrogen.cc ('k') | src/compiler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
« no previous file with comments | « src/code-stubs-hydrogen.cc ('k') | src/compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698