mirror of
https://github.com/ziglang/zig.git
synced 2026-11-22 04:37:39 -05:00
remove staticEval builtin in favor of comptime expression
This commit is contained in:
1 parent
201a3c121a
commit
e5b1758010
11 files changed
+16
-100
No files matched your search
@@ -2261,7 +2261,6 @@ static LLVMValueRef ir_render_instruction(CodeGen *g, IrExecutable *executable,
|
||||
case IrInstructionIdCompileVar:
|
||||
case IrInstructionIdSizeOf:
|
||||
case IrInstructionIdSwitchTarget:
|
||||
case IrInstructionIdStaticEval:
|
||||
case IrInstructionIdContainerInitFields:
|
||||
case IrInstructionIdMinValue:
|
||||
case IrInstructionIdMaxValue:
|
||||
@@ -3640,7 +3639,6 @@ static void define_builtin_fns(CodeGen *g) {
|
||||
create_builtin_fn(g, BuiltinFnIdCDefine, "cDefine", 2);
|
||||
create_builtin_fn(g, BuiltinFnIdCUndef, "cUndef", 1);
|
||||
create_builtin_fn(g, BuiltinFnIdCompileVar, "compileVar", 1);
|
||||
create_builtin_fn(g, BuiltinFnIdStaticEval, "staticEval", 1);
|
||||
create_builtin_fn(g, BuiltinFnIdGeneratedCode, "generatedCode", 1);
|
||||
create_builtin_fn(g, BuiltinFnIdCtz, "ctz", 1);
|
||||
create_builtin_fn(g, BuiltinFnIdClz, "clz", 1);
|
||||
|
||||
Reference in new issue
Block a user