@@ -174,13 +174,13 @@ def_instruction! {
174
174
/// This may be a noop for some implementations, but it's here in case the
175
175
/// native language representation of `f32` is different than the wasm
176
176
/// representation of `f32`.
177
- F32FromFloat32 : [ 1 ] => [ 1 ] ,
177
+ CoreF32FromF32 : [ 1 ] => [ 1 ] ,
178
178
/// Conversion an interface type `f64` value to a wasm `f64`.
179
179
///
180
180
/// This may be a noop for some implementations, but it's here in case the
181
181
/// native language representation of `f64` is different than the wasm
182
182
/// representation of `f64`.
183
- F64FromFloat64 : [ 1 ] => [ 1 ] ,
183
+ CoreF64FromF64 : [ 1 ] => [ 1 ] ,
184
184
185
185
/// Converts a native wasm `i32` to an interface type `s8`.
186
186
///
@@ -211,9 +211,9 @@ def_instruction! {
211
211
/// It's safe to assume that the `i32` is indeed a valid unicode code point.
212
212
CharFromI32 : [ 1 ] => [ 1 ] ,
213
213
/// Converts a native wasm `f32` to an interface type `f32`.
214
- Float32FromF32 : [ 1 ] => [ 1 ] ,
214
+ F32FromCoreF32 : [ 1 ] => [ 1 ] ,
215
215
/// Converts a native wasm `f64` to an interface type `f64`.
216
- Float64FromF64 : [ 1 ] => [ 1 ] ,
216
+ F64FromCoreF64 : [ 1 ] => [ 1 ] ,
217
217
218
218
/// Creates a `bool` from an `i32` input, trapping if the `i32` isn't
219
219
/// zero or one.
@@ -1067,8 +1067,8 @@ impl<'a, B: Bindgen> Generator<'a, B> {
1067
1067
Type :: S64 => self . emit ( & I64FromS64 ) ,
1068
1068
Type :: U64 => self . emit ( & I64FromU64 ) ,
1069
1069
Type :: Char => self . emit ( & I32FromChar ) ,
1070
- Type :: F32 => self . emit ( & F32FromFloat32 ) ,
1071
- Type :: F64 => self . emit ( & F64FromFloat64 ) ,
1070
+ Type :: F32 => self . emit ( & CoreF32FromF32 ) ,
1071
+ Type :: F64 => self . emit ( & CoreF64FromF64 ) ,
1072
1072
Type :: String => {
1073
1073
let realloc = self . list_realloc ( ) ;
1074
1074
self . emit ( & StringLower { realloc } ) ;
@@ -1256,8 +1256,8 @@ impl<'a, B: Bindgen> Generator<'a, B> {
1256
1256
Type :: S64 => self . emit ( & S64FromI64 ) ,
1257
1257
Type :: U64 => self . emit ( & U64FromI64 ) ,
1258
1258
Type :: Char => self . emit ( & CharFromI32 ) ,
1259
- Type :: F32 => self . emit ( & Float32FromF32 ) ,
1260
- Type :: F64 => self . emit ( & Float64FromF64 ) ,
1259
+ Type :: F32 => self . emit ( & F32FromCoreF32 ) ,
1260
+ Type :: F64 => self . emit ( & F64FromCoreF64 ) ,
1261
1261
Type :: String => self . emit ( & StringLift ) ,
1262
1262
Type :: Id ( id) => match & self . resolve . types [ id] . kind {
1263
1263
TypeDefKind :: Type ( t) => self . lift ( t) ,
0 commit comments