Index: src/compiler/schedule.h |
diff --git a/src/compiler/schedule.h b/src/compiler/schedule.h |
index d4d64533b5086de9350e79b00286bb2238bc684a..d46825ed1ff2f814e96a2de25a2771d575afaaa0 100644 |
--- a/src/compiler/schedule.h |
+++ b/src/compiler/schedule.h |
@@ -32,6 +32,7 @@ class BasicBlock FINAL : public ZoneObject { |
enum Control { |
kNone, // Control not initialized yet. |
kGoto, // Goto a single successor block. |
+ kCall, // Call with continuation as first successor, exception second. |
kBranch, // Branch if true to first successor, otherwise second. |
kSwitch, // Table dispatch to one of the successor blocks. |
kReturn, // Return a value from this method. |
@@ -233,6 +234,10 @@ class Schedule FINAL : public ZoneObject { |
// BasicBlock building: add a goto to the end of {block}. |
void AddGoto(BasicBlock* block, BasicBlock* succ); |
+ // BasicBlock building: add a call at the end of {block}. |
+ void AddCall(BasicBlock* block, Node* call, BasicBlock* success_block, |
+ BasicBlock* exception_block); |
+ |
// BasicBlock building: add a branch at the end of {block}. |
void AddBranch(BasicBlock* block, Node* branch, BasicBlock* tblock, |
BasicBlock* fblock); |