@@ -93,7 +93,7 @@ static void buildCatchInfo(JITCompiler* compiler, ModuleFunction* function, std:
9393
9494static bool isFloatGlobal (uint32_t globalIndex, Module* module )
9595{
96- Value::Type type = module ->globalType (globalIndex)->type ();
96+ Value::Type type = module ->globalType (globalIndex)->type (). type () ;
9797
9898 return type == Value::F32 || type == Value::F64;
9999}
@@ -1146,7 +1146,7 @@ static void compileFunction(JITCompiler* compiler)
11461146 Operand* operand = instr->operands ();
11471147 instr->addInfo (Instruction::kIsCallback | Instruction::kFreeUnusedEarly );
11481148
1149- for (auto it : functionType->param ()) {
1149+ for (auto it : functionType->param (). types () ) {
11501150 *operand++ = STACK_OFFSET (*stackOffset);
11511151 stackOffset += (valueSize (it) + (sizeof (size_t ) - 1 )) / sizeof (size_t );
11521152 }
@@ -1157,7 +1157,7 @@ static void compileFunction(JITCompiler* compiler)
11571157 *operand++ = STACK_OFFSET (reinterpret_cast <CallRef*>(byteCode)->calleeOffset ());
11581158 }
11591159
1160- for (auto it : functionType->result ()) {
1160+ for (auto it : functionType->result (). types () ) {
11611161 *operand++ = STACK_OFFSET (*stackOffset);
11621162 stackOffset += (valueSize (it) + (sizeof (size_t ) - 1 )) / sizeof (size_t );
11631163 }
@@ -2066,7 +2066,7 @@ static void compileFunction(JITCompiler* compiler)
20662066 Operand* param = instr->params ();
20672067 ByteCodeStackOffset* offsets = reinterpret_cast <End*>(byteCode)->resultOffsets ();
20682068
2069- for (auto it : result) {
2069+ for (auto it : result. types () ) {
20702070 *param++ = STACK_OFFSET (*offsets);
20712071 offsets += (valueSize (it) + (sizeof (size_t ) - 1 )) / sizeof (size_t );
20722072 }
0 commit comments