Lines Matching refs:WasmVal
606 static inline int32_t ExecuteI32ReinterpretF32(WasmVal a) { in ExecuteI32ReinterpretF32()
610 static inline int64_t ExecuteI64ReinterpretF64(WasmVal a) { in ExecuteI64ReinterpretF64()
935 void PushFrame(const WasmFunction* function, WasmVal* args) { in PushFrame()
1002 WasmVal GetReturnValue(int index) { in GetReturnValue()
1003 if (state_ == WasmInterpreter::TRAPPED) return WasmVal(0xdeadbeef); in GetReturnValue()
1042 ZoneVector<WasmVal> stack_;
1083 WasmVal val; in InitLocals()
1086 val = WasmVal(static_cast<int32_t>(0)); in InitLocals()
1089 val = WasmVal(static_cast<int64_t>(0)); in InitLocals()
1092 val = WasmVal(static_cast<float>(0)); in InitLocals()
1095 val = WasmVal(static_cast<double>(0)); in InitLocals()
1194 WasmVal result(static_cast<ctype>(ReadLittleEndianValue<mtype>(addr))); in ExecuteLoad()
1205 WasmVal val = Pop(); in ExecuteStore()
1276 WasmVal cond = Pop(); in Execute()
1296 WasmVal cond = Pop(); in Execute()
1297 WasmVal fval = Pop(); in Execute()
1298 WasmVal tval = Pop(); in Execute()
1310 WasmVal cond = Pop(); in Execute()
1352 Push(pc, WasmVal(operand.value)); in Execute()
1358 Push(pc, WasmVal(operand.value)); in Execute()
1364 Push(pc, WasmVal(operand.value)); in Execute()
1370 Push(pc, WasmVal(operand.value)); in Execute()
1382 WasmVal val = Pop(); in Execute()
1389 WasmVal val = Pop(); in Execute()
1440 WasmVal val; in Execute()
1442 val = WasmVal(*reinterpret_cast<int32_t*>(ptr)); in Execute()
1444 val = WasmVal(*reinterpret_cast<int64_t*>(ptr)); in Execute()
1446 val = WasmVal(*reinterpret_cast<float*>(ptr)); in Execute()
1448 val = WasmVal(*reinterpret_cast<double*>(ptr)); in Execute()
1461 WasmVal val = Pop(); in Execute()
1527 Push(pc, WasmVal(result)); \ in Execute()
1543 WasmVal val = Pop(); \ in Execute()
1563 Push(pc, WasmVal(ExecuteGrowMemory(delta_pages, instance()))); in Execute()
1569 Push(pc, WasmVal(static_cast<uint32_t>(instance()->mem_size / in Execute()
1578 WasmVal val = Pop(); in Execute()
1579 WasmVal result(ExecuteI32ReinterpretF32(val)); in Execute()
1585 WasmVal val = Pop(); in Execute()
1586 WasmVal result(ExecuteI64ReinterpretF64(val)); in Execute()
1593 WasmVal rval = Pop(); \ in Execute()
1594 WasmVal lval = Pop(); \ in Execute()
1595 WasmVal result(lval.to<ctype>() op rval.to<ctype>()); \ in Execute()
1607 WasmVal result(Execute##name(lval, rval, &trap)); \ in Execute()
1621 WasmVal result(ExecuteF32CopySign(lval, rval, &trap)); in Execute()
1632 WasmVal result(ExecuteF64CopySign(lval, rval, &trap)); in Execute()
1641 WasmVal result(Execute##name(val, &trap)); \ in Execute()
1672 WasmVal Pop() { in Pop()
1676 WasmVal val = stack_.back(); in Pop()
1689 WasmVal PopArity(size_t arity) { in PopArity()
1690 if (arity == 0) return WasmVal(); in PopArity()
1695 void Push(pc_t pc, WasmVal val) { in Push()
1722 WasmVal val = stack_[i]; in TraceValueStack()
1771 WasmVal* args) { in PushFrame()
1799 WasmVal WasmInterpreter::Thread::GetReturnValue(int index) { in GetReturnValue()
1904 WasmVal WasmInterpreter::ReadMemory(size_t offset) { in ReadMemory()
1906 return WasmVal(); in ReadMemory()
1909 void WasmInterpreter::WriteMemory(size_t offset, WasmVal val) { in WriteMemory()
1939 WasmVal InterpretedFrame::GetLocalVal(int index) const { in GetLocalVal()
1942 WasmVal none; in GetLocalVal()
1947 WasmVal InterpretedFrame::GetExprVal(int pc) const { in GetExprVal()
1949 WasmVal none; in GetExprVal()
1954 void InterpretedFrame::SetLocalVal(int index, WasmVal val) { UNIMPLEMENTED(); } in SetLocalVal()
1956 void InterpretedFrame::SetExprVal(int pc, WasmVal val) { UNIMPLEMENTED(); } in SetExprVal()