diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2016-12-18 20:52:40 -0500 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2016-12-18 20:52:40 -0500 |
| commit | 132e2fa5d9cc17088082cf4797701214c20845f1 (patch) | |
| tree | faf24be2d876da8ec77edcc5e5fa56b5217a7099 /src/ir.hpp | |
| parent | cfc9f7422f3b0e4077eca42d7b71cd5523dad0a9 (diff) | |
| download | zig-132e2fa5d9cc17088082cf4797701214c20845f1.tar.gz zig-132e2fa5d9cc17088082cf4797701214c20845f1.zip | |
errors from inline fn calls include stack trace
Diffstat (limited to 'src/ir.hpp')
| -rw-r--r-- | src/ir.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ir.hpp b/src/ir.hpp index 69e8115bf8..b2044d0688 100644 --- a/src/ir.hpp +++ b/src/ir.hpp @@ -15,7 +15,8 @@ IrInstruction *ir_gen_fn(CodeGen *g, FnTableEntry *fn_entry); IrInstruction *ir_eval_const_value(CodeGen *codegen, Scope *scope, AstNode *node, TypeTableEntry *expected_type, size_t *backward_branch_count, size_t backward_branch_quota, - FnTableEntry *fn_entry, Buf *c_import_buf, AstNode *source_node, Buf *exec_name); + FnTableEntry *fn_entry, Buf *c_import_buf, AstNode *source_node, Buf *exec_name, + IrExecutable *parent_exec); TypeTableEntry *ir_analyze(CodeGen *g, IrExecutable *old_executable, IrExecutable *new_executable, TypeTableEntry *expected_type, AstNode *expected_type_source_node); |
