aboutsummaryrefslogtreecommitdiff
path: root/src/all_types.hpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2020-01-02 16:10:41 -0500
committerGitHub <noreply@github.com>2020-01-02 16:10:41 -0500
commita90fa45ae146a72e2d54842eed15c4b50062eff1 (patch)
tree7845fbd8a52ca2f7c6ddf9e157affd9d01c2191a /src/all_types.hpp
parentfe21d84c94e16db56cf6f87040a02213615873a4 (diff)
parent213ff939f18f147b5d9dd164d52ebdd660dab7b4 (diff)
downloadzig-a90fa45ae146a72e2d54842eed15c4b50062eff1.tar.gz
zig-a90fa45ae146a72e2d54842eed15c4b50062eff1.zip
Merge pull request #4027 from ziglang/fix-float-ops
fix float ops with respect to vectors
Diffstat (limited to 'src/all_types.hpp')
-rw-r--r--src/all_types.hpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/all_types.hpp b/src/all_types.hpp
index ea46ab81a6..dd2b918fc6 100644
--- a/src/all_types.hpp
+++ b/src/all_types.hpp
@@ -1680,7 +1680,7 @@ enum BuiltinFnId {
BuiltinFnIdCos,
BuiltinFnIdExp,
BuiltinFnIdExp2,
- BuiltinFnIdLn,
+ BuiltinFnIdLog,
BuiltinFnIdLog2,
BuiltinFnIdLog10,
BuiltinFnIdFabs,
@@ -3840,9 +3840,8 @@ struct IrInstructionAddImplicitReturnType {
struct IrInstructionFloatOp {
IrInstruction base;
- BuiltinFnId op;
- IrInstruction *type;
- IrInstruction *op1;
+ BuiltinFnId fn_id;
+ IrInstruction *operand;
};
struct IrInstructionCheckRuntimeScope {