Searched refs:WasmVal (Results 1 – 2 of 2) sorted by relevance
43 struct WasmVal { struct51 WasmVal() : type(kAstStmt) {} in WasmVal() argument54 explicit WasmVal(ctype v) : type(localtype) { val.field = v; }66 inline ctype WasmVal::to() { \ argument74 inline void WasmVal::to() { in FOREACH_UNION_MEMBER()115 virtual void PushFrame(const WasmFunction* function, WasmVal* args) = 0;127 virtual WasmVal GetReturnValue(int index = 0) = 0;166 WasmVal GetLocalVal(const WasmFrame* frame, int index);167 WasmVal GetExprVal(const WasmFrame* frame, int pc);168 void SetLocalVal(WasmFrame* frame, int index, WasmVal val);[all …]
988 virtual void PushFrame(const WasmFunction* function, WasmVal* args) { in PushFrame()1048 virtual WasmVal GetReturnValue(int index) { in GetReturnValue()1049 if (state_ == WasmInterpreter::TRAPPED) return WasmVal(0xdeadbeef); in GetReturnValue()1087 ZoneVector<WasmVal> stack_;1125 WasmVal val; in InitLocals()1128 val = WasmVal(static_cast<int32_t>(0)); in InitLocals()1131 val = WasmVal(static_cast<int64_t>(0)); in InitLocals()1134 val = WasmVal(static_cast<float>(0)); in InitLocals()1137 val = WasmVal(static_cast<double>(0)); in InitLocals()1287 WasmVal cond = Pop(); in Execute()[all …]