mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-21 12:00: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++) { }
|
: co(co), _module(_module), _locals(_locals), id(kFrameGlobalId++) { }
|
||||||
|
|
||||||
inline const Bytecode& next_bytecode() {
|
inline const Bytecode& next_bytecode() {
|
||||||
_ip = _next_ip;
|
_ip = _next_ip++;
|
||||||
_next_ip = _ip + 1;
|
|
||||||
return co->codes[_ip];
|
return co->codes[_ip];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user