aboutsummaryrefslogtreecommitdiff
path: root/src/ir.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2018-06-03 16:40:58 +0100
committergingerBill <bill@gingerbill.org>2018-06-03 16:40:58 +0100
commite46662a546788324f3648e7f9bfa051c86184db4 (patch)
treee22d9f89981d90424677d73977821852630f1572 /src/ir.cpp
parent360a74e2fe981a47aa3948676890ef013039421d (diff)
Rename os.default_allocator to os.heap_allocator
Diffstat (limited to 'src/ir.cpp')
-rw-r--r--src/ir.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir.cpp b/src/ir.cpp
index a353c6f02..b62c39888 100644
--- a/src/ir.cpp
+++ b/src/ir.cpp
@@ -1637,7 +1637,7 @@ irValue *ir_find_or_generate_context_ptr(irProcedure *proc) {
irValue *ep = ir_emit_struct_ep(proc, c, 0);
Array<irValue *> args = {};
- irValue *v = ir_emit_package_call(proc, "os", "default_allocator", args);
+ irValue *v = ir_emit_package_call(proc, "os", "heap_allocator", args);
ir_emit_store(proc, ep, v);
return c;