Index: src/compiler/bytecode-graph-builder.h |
diff --git a/src/compiler/bytecode-graph-builder.h b/src/compiler/bytecode-graph-builder.h |
index a25f3a2037d5002906a4232100b46b5311adfc5b..d93a8e4a9a7962387ebde9f0a2ebbee058f99ab5 100644 |
--- a/src/compiler/bytecode-graph-builder.h |
+++ b/src/compiler/bytecode-graph-builder.h |
@@ -107,9 +107,6 @@ class BytecodeGraphBuilder { |
Node* MakeNode(const Operator* op, int value_input_count, Node** value_inputs, |
bool incomplete); |
- // Helper to indicate a node exits the function body. |
- void UpdateControlDependencyToLeaveFunction(Node* exit); |
- |
Node** EnsureInputBufferSize(int size); |
Node* ProcessCallArguments(const Operator* call_op, Node* callee, |
@@ -139,10 +136,11 @@ class BytecodeGraphBuilder { |
void BuildCallRuntime(); |
void BuildCallRuntimeForPair(); |
void BuildCallConstruct(); |
+ void BuildThrowOp(const Operator* op); |
void BuildBinaryOp(const Operator* op); |
void BuildCompareOp(const Operator* op); |
void BuildDelete(); |
- void BuildCastOperator(const Operator* js_op); |
+ void BuildCastOperator(const Operator* op); |
void BuildForInPrepare(); |
void BuildForInNext(); |
@@ -157,6 +155,9 @@ class BytecodeGraphBuilder { |
void BuildLoopHeaderEnvironment(int current_offset); |
void SwitchToMergeEnvironment(int current_offset); |
+ // Simulates control flow that exits the function body. |
+ void MergeControlToLeaveFunction(Node* exit); |
+ |
// Simulates entry and exit of exception handlers. |
void EnterAndExitExceptionHandlers(int current_offset); |