|
|
@@ -112,8 +112,8 @@ PyVar VM::run_frame(Frame* frame){
|
|
|
case OP_POP_TOP: frame->_pop(); continue;
|
|
|
case OP_BINARY_OP: {
|
|
|
pkpy::Args args(2);
|
|
|
- args[1] = frame->pop();
|
|
|
- args[0] = frame->top();
|
|
|
+ args[1] = frame->pop_value(this);
|
|
|
+ args[0] = frame->top_value(this);
|
|
|
frame->top() = fast_call(BINARY_SPECIAL_METHODS[byte.arg], std::move(args));
|
|
|
} continue;
|
|
|
case OP_BITWISE_OP: {
|