aboutsummaryrefslogtreecommitdiff
path: root/src/all_types.hpp
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2018-05-13 13:38:03 -0400
committerAndrew Kelley <superjoe30@gmail.com>2018-05-13 13:38:03 -0400
commit86a352c45bb654951529660b2e6cbbfa72773170 (patch)
treee7a4f5760918ec54bf247e9c23dc7e29d1d7c459 /src/all_types.hpp
parent4787127cf6418f7a819c9d6f07a9046d76e0de65 (diff)
parent05ecb49bac30041459ae08764edd2aced23d10eb (diff)
downloadzig-86a352c45bb654951529660b2e6cbbfa72773170.tar.gz
zig-86a352c45bb654951529660b2e6cbbfa72773170.zip
Merge branch 'master' into pointer-reform
Diffstat (limited to 'src/all_types.hpp')
-rw-r--r--src/all_types.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/all_types.hpp b/src/all_types.hpp
index 6f48c4ed36..9c156fb58b 100644
--- a/src/all_types.hpp
+++ b/src/all_types.hpp
@@ -1345,6 +1345,7 @@ enum BuiltinFnId {
BuiltinFnIdOffsetOf,
BuiltinFnIdInlineCall,
BuiltinFnIdNoInlineCall,
+ BuiltinFnIdNewStackCall,
BuiltinFnIdTypeId,
BuiltinFnIdShlExact,
BuiltinFnIdShrExact,
@@ -1661,8 +1662,13 @@ struct CodeGen {
LLVMValueRef coro_alloc_helper_fn_val;
LLVMValueRef merge_err_ret_traces_fn_val;
LLVMValueRef add_error_return_trace_addr_fn_val;
+ LLVMValueRef stacksave_fn_val;
+ LLVMValueRef stackrestore_fn_val;
+ LLVMValueRef write_register_fn_val;
bool error_during_imports;
+ LLVMValueRef sp_md_node;
+
const char **clang_argv;
size_t clang_argv_len;
ZigList<const char *> lib_dirs;
@@ -2285,6 +2291,7 @@ struct IrInstructionCall {
bool is_async;
IrInstruction *async_allocator;
+ IrInstruction *new_stack;
};
struct IrInstructionConst {