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

Unified Diff: src/compiler/bytecode-graph-builder.h

Issue 2858933004: [turbofan] Lower monomorphic loads during graph building.
Patch Set: Prune headers Created 3 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 | « no previous file | src/compiler/bytecode-graph-builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/bytecode-graph-builder.h
diff --git a/src/compiler/bytecode-graph-builder.h b/src/compiler/bytecode-graph-builder.h
index c29d7bfc99cae04ae70ba9917e4393fbe49a6508..e8d8483a6f85beb6b0f863d53f665e2075442520 100644
--- a/src/compiler/bytecode-graph-builder.h
+++ b/src/compiler/bytecode-graph-builder.h
@@ -16,6 +16,9 @@
namespace v8 {
namespace internal {
+
+class CompilationDependencies;
+
namespace compiler {
class Reduction;
@@ -29,7 +32,8 @@ class BytecodeGraphBuilder {
Zone* local_zone, Handle<SharedFunctionInfo> shared,
Handle<FeedbackVector> feedback_vector, BailoutId osr_ast_id,
JSGraph* jsgraph, CallFrequency invocation_frequency,
- SourcePositionTable* source_positions,
+ SourcePositionTable* source_positions, Handle<Context> native_context,
+ CompilationDependencies* dependencies,
int inlining_id = SourcePosition::kNotInlined,
JSTypeHintLowering::Flags flags = JSTypeHintLowering::kNoFlags);
@@ -189,8 +193,8 @@ class BytecodeGraphBuilder {
FeedbackSlot slot);
Node* TryBuildSimplifiedToNumber(Node* input, FeedbackSlot slot);
Node* TryBuildSimplifiedToPrimitiveToString(Node* input, FeedbackSlot slot);
- Node* TryBuildSimplifiedLoadNamed(const Operator* op, Node* receiver,
- FeedbackSlot slot);
+ JSTypeHintLowering::LoweringResult TryBuildSimplifiedLoadNamed(
+ const Operator* op, Node* receiver, FeedbackSlot slot);
Node* TryBuildSimplifiedLoadKeyed(const Operator* op, Node* receiver,
Node* key, FeedbackSlot slot);
Node* TryBuildSimplifiedStoreNamed(const Operator* op, Node* receiver,
@@ -200,6 +204,7 @@ class BytecodeGraphBuilder {
// Applies the given early reduction onto the current environment.
void ApplyEarlyReduction(Reduction reduction);
+ void ApplyEarlyReduction(JSTypeHintLowering::LoweringResult reduction);
// Check the context chain for extensions, for lookup fast paths.
Environment* CheckContextExtensions(uint32_t depth);
« no previous file with comments | « no previous file | src/compiler/bytecode-graph-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698