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

Unified Diff: src/compiler/type-hint-analyzer.h

Issue 2228983002: [turbofan] Simplify BinaryOperationHints and CompareOperationHints. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix compile for realz Created 4 years, 4 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/compiler/js-typed-lowering.cc ('k') | src/compiler/type-hint-analyzer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/type-hint-analyzer.h
diff --git a/src/compiler/type-hint-analyzer.h b/src/compiler/type-hint-analyzer.h
index 91a96556c1b9e5101f9ab0ab63678795f3825bb7..e48938a976302f0b93c51603493700595bad5377 100644
--- a/src/compiler/type-hint-analyzer.h
+++ b/src/compiler/type-hint-analyzer.h
@@ -21,10 +21,10 @@ class TypeHintAnalysis final : public ZoneObject {
explicit TypeHintAnalysis(Infos const& infos, Zone* zone)
: infos_(infos), zone_(zone) {}
- bool GetBinaryOperationHints(TypeFeedbackId id,
- BinaryOperationHints* hints) const;
- bool GetCompareOperationHints(TypeFeedbackId id,
- CompareOperationHints* hints) const;
+ bool GetBinaryOperationHint(TypeFeedbackId id,
+ BinaryOperationHint* hint) const;
+ bool GetCompareOperationHint(TypeFeedbackId id,
+ CompareOperationHint* hint) const;
bool GetToBooleanHints(TypeFeedbackId id, ToBooleanHints* hints) const;
private:
@@ -50,7 +50,7 @@ class TypeHintAnalyzer final {
DISALLOW_COPY_AND_ASSIGN(TypeHintAnalyzer);
};
-BinaryOperationHints::Hint BinaryOperationHintFromFeedback(int type_feedback);
+BinaryOperationHint BinaryOperationHintFromFeedback(int type_feedback);
} // namespace compiler
} // namespace internal
« no previous file with comments | « src/compiler/js-typed-lowering.cc ('k') | src/compiler/type-hint-analyzer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698