diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2020-01-02 16:10:41 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-01-02 16:10:41 -0500 |
| commit | a90fa45ae146a72e2d54842eed15c4b50062eff1 (patch) | |
| tree | 7845fbd8a52ca2f7c6ddf9e157affd9d01c2191a /src/all_types.hpp | |
| parent | fe21d84c94e16db56cf6f87040a02213615873a4 (diff) | |
| parent | 213ff939f18f147b5d9dd164d52ebdd660dab7b4 (diff) | |
| download | zig-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.hpp | 7 |
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 { |
