summaryrefslogtreecommitdiff
path: root/src/mir/mir.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mir/mir.cpp')
-rw-r--r--src/mir/mir.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mir/mir.cpp b/src/mir/mir.cpp
index 18c69a41..5b3a705d 100644
--- a/src/mir/mir.cpp
+++ b/src/mir/mir.cpp
@@ -154,11 +154,17 @@ namespace MIR {
os << j << " => bb" << e.targets[j] << ", ";
os << ")";
),
- (Call,
+ (CallValue,
os << "Call( " << e.ret_val << " = " << e.fcn_val << "( ";
for(const auto& arg : e.args)
os << arg << ", ";
os << "), bb" << e.ret_block << ", bb" << e.panic_block << ")";
+ ),
+ (CallPath,
+ os << "Call( " << e.ret_val << " = " << e.fcn_path << "( ";
+ for(const auto& arg : e.args)
+ os << arg << ", ";
+ os << "), bb" << e.ret_block << ", bb" << e.panic_block << ")";
)
)