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

Unified Diff: src/crankshaft/typing.h

Issue 2361043002: [Ignition] Use binary operation feedback from Ignition to Crankshaft. (Closed)
Patch Set: Created 4 years, 3 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/crankshaft/typing.h
diff --git a/src/crankshaft/typing.h b/src/crankshaft/typing.h
index eb886347779d204c0b0d6b7082ea1f7b37afc965..b4972dbf74985c7ea9f421764ff73d7d5f65ac18 100644
--- a/src/crankshaft/typing.h
+++ b/src/crankshaft/typing.h
@@ -25,7 +25,7 @@ class AstTyper final : public AstVisitor<AstTyper> {
public:
AstTyper(Isolate* isolate, Zone* zone, Handle<JSFunction> closure,
DeclarationScope* scope, BailoutId osr_ast_id, FunctionLiteral* root,
- AstTypeBounds* bounds);
+ AstTypeBounds* bounds, bool ignition_feedback = false);
void Run();
DEFINE_AST_VISITOR_SUBCLASS_MEMBERS();
@@ -47,6 +47,7 @@ class AstTyper final : public AstVisitor<AstTyper> {
TypeFeedbackOracle oracle_;
Store store_;
AstTypeBounds* bounds_;
+ bool ignition_feedback_;
Zone* zone() const { return zone_; }
TypeFeedbackOracle* oracle() { return &oracle_; }

Powered by Google App Engine
This is Rietveld 408576698