'g' for accessing globals

This commit is contained in:
Vern Paxson 2024-06-09 13:46:01 -07:00
parent 6272db4cdd
commit 5369b5b81e
9 changed files with 18 additions and 15 deletions

View file

@ -254,7 +254,7 @@ public:
bool IsLoad() const { return op_type == OP_VV_FRAME || IsNonLocalLoad(); }
// True if the instruction corresponds to storing a global.
bool IsGlobalStore() const { return op == OP_STORE_GLOBAL_i; }
bool IsGlobalStore() const { return op == OP_STORE_GLOBAL_g; }
void CheckIfManaged(const TypePtr& t) {
if ( ZVal::IsManagedType(t) )