diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2017-01-22 23:20:53 -0500 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2017-01-22 23:21:00 -0500 |
| commit | e5b17580107ad0783b7f07de100aeb9ccf175603 (patch) | |
| tree | c91671f234ac448b22286aeb00946d319c8b5c05 /src/codegen.cpp | |
| parent | 201a3c121a5c28273138b1160c5aac4e24d619bd (diff) | |
| download | zig-e5b17580107ad0783b7f07de100aeb9ccf175603.tar.gz zig-e5b17580107ad0783b7f07de100aeb9ccf175603.zip | |
remove staticEval builtin in favor of comptime expression
Diffstat (limited to 'src/codegen.cpp')
| -rw-r--r-- | src/codegen.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/codegen.cpp b/src/codegen.cpp index 5d1f52fb0f..6d67eec838 100644 --- a/src/codegen.cpp +++ b/src/codegen.cpp @@ -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); |
