Index: src/compiler/graph-assembler.cc |
diff --git a/src/compiler/graph-assembler.cc b/src/compiler/graph-assembler.cc |
index 76efbced938ec79c2fa1ea3e2f701b4ee5029e04..235826e746e512d163fe67e3914c85689294444b 100644 |
--- a/src/compiler/graph-assembler.cc |
+++ b/src/compiler/graph-assembler.cc |
@@ -157,23 +157,16 @@ |
Node* GraphAssembler::DeoptimizeIf(DeoptimizeReason reason, Node* condition, |
Node* frame_state) { |
- return current_control_ = current_effect_ = graph()->NewNode( |
- common()->DeoptimizeIf(DeoptimizeKind::kEager, reason), condition, |
- frame_state, current_effect_, current_control_); |
-} |
- |
-Node* GraphAssembler::DeoptimizeUnless(DeoptimizeKind kind, |
- DeoptimizeReason reason, Node* condition, |
- Node* frame_state) { |
- return current_control_ = current_effect_ = graph()->NewNode( |
- common()->DeoptimizeUnless(kind, reason), condition, frame_state, |
- current_effect_, current_control_); |
+ return current_control_ = current_effect_ = |
+ graph()->NewNode(common()->DeoptimizeIf(reason), condition, |
+ frame_state, current_effect_, current_control_); |
} |
Node* GraphAssembler::DeoptimizeUnless(DeoptimizeReason reason, Node* condition, |
Node* frame_state) { |
- return DeoptimizeUnless(DeoptimizeKind::kEager, reason, condition, |
- frame_state); |
+ return current_control_ = current_effect_ = |
+ graph()->NewNode(common()->DeoptimizeUnless(reason), condition, |
+ frame_state, current_effect_, current_control_); |
} |
void GraphAssembler::Branch(Node* condition, |