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

Side by Side Diff: src/compiler/type-hint-analyzer.h

Issue 2221833002: [Interpreter] Collect type feedback for subtract operation and pass it to turbofan. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressed comments from Ross. 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 unified diff | Download patch
« no previous file with comments | « src/compiler/bytecode-graph-builder.cc ('k') | src/compiler/type-hint-analyzer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_COMPILER_TYPE_HINT_ANALYZER_H_ 5 #ifndef V8_COMPILER_TYPE_HINT_ANALYZER_H_
6 #define V8_COMPILER_TYPE_HINT_ANALYZER_H_ 6 #define V8_COMPILER_TYPE_HINT_ANALYZER_H_
7 7
8 #include "src/compiler/type-hints.h" 8 #include "src/compiler/type-hints.h"
9 #include "src/handles.h" 9 #include "src/handles.h"
10 #include "src/zone-containers.h" 10 #include "src/zone-containers.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 TypeHintAnalysis* Analyze(Handle<Code> code); 43 TypeHintAnalysis* Analyze(Handle<Code> code);
44 44
45 private: 45 private:
46 Zone* zone() const { return zone_; } 46 Zone* zone() const { return zone_; }
47 47
48 Zone* const zone_; 48 Zone* const zone_;
49 49
50 DISALLOW_COPY_AND_ASSIGN(TypeHintAnalyzer); 50 DISALLOW_COPY_AND_ASSIGN(TypeHintAnalyzer);
51 }; 51 };
52 52
53 BinaryOperationHints::Hint BinaryOperationHintFromFeedback(int type_feedback);
54
53 } // namespace compiler 55 } // namespace compiler
54 } // namespace internal 56 } // namespace internal
55 } // namespace v8 57 } // namespace v8
56 58
57 #endif // V8_COMPILER_TYPE_HINT_ANALYZER_H_ 59 #endif // V8_COMPILER_TYPE_HINT_ANALYZER_H_
OLDNEW
« no previous file with comments | « src/compiler/bytecode-graph-builder.cc ('k') | src/compiler/type-hint-analyzer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698