Add some missing wasm functions.

This commit is contained in:
chriseth
2020-02-04 22:44:08 +01:00
parent a7624ffc45
commit 48933df18d
3 changed files with 7 additions and 2 deletions
@@ -93,7 +93,7 @@ u256 EwasmBuiltinInterpreter::evalBuiltin(YulString _fun, vector<u256> const& _a
);
return 0;
}
else if (_fun == "drop"_yulstring)
else if (_fun == "drop"_yulstring || _fun == "nop"_yulstring)
return {};
else if (_fun == "i32.wrap_i64"_yulstring)
return arg.at(0) & uint32_t(-1);