mirror of
https://github.com/corda/corda.git
synced 2025-06-14 13:18:18 +00:00
implement l2d and l2f in interpret.cpp
This commit is contained in:
@ -1942,6 +1942,14 @@ interpret(Thread* t)
|
|||||||
ip = (ip - 5) + static_cast<int32_t>(offset);
|
ip = (ip - 5) + static_cast<int32_t>(offset);
|
||||||
} goto loop;
|
} goto loop;
|
||||||
|
|
||||||
|
case l2d: {
|
||||||
|
pushDouble(t, static_cast<double>(static_cast<int64_t>(popLong(t))));
|
||||||
|
} goto loop;
|
||||||
|
|
||||||
|
case l2f: {
|
||||||
|
pushFloat(t, static_cast<float>(static_cast<int64_t>(popLong(t))));
|
||||||
|
} goto loop;
|
||||||
|
|
||||||
case l2i: {
|
case l2i: {
|
||||||
pushInt(t, static_cast<int32_t>(popLong(t)));
|
pushInt(t, static_cast<int32_t>(popLong(t)));
|
||||||
} goto loop;
|
} goto loop;
|
||||||
|
Reference in New Issue
Block a user