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); |