mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 03:20:18 +00:00
Update codeobject.h
This commit is contained in:
parent
b20e9b49c0
commit
4368dc3501
@ -129,8 +129,7 @@ struct Frame {
|
||||
: co(co), _module(_module), _locals(_locals), id(kFrameGlobalId++) { }
|
||||
|
||||
inline const Bytecode& next_bytecode() {
|
||||
_ip = _next_ip;
|
||||
_next_ip = _ip + 1;
|
||||
_ip = _next_ip++;
|
||||
return co->codes[_ip];
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user