diff options
author | 卜部昌平 <[email protected]> | 2019-12-16 17:38:41 +0900 |
---|---|---|
committer | 卜部昌平 <[email protected]> | 2019-12-16 17:52:18 +0900 |
commit | ba11a74745e10fac88a74c2da2e0032ccf254265 () | |
tree | 90645559ab20180ea9eb0868a091e334b82b6fc8 /vm_insnhelper.h | |
parent | 6545d5bbb9517a9364bd59a12a98d3e00516e07e (diff) |
ensure cc->def == cc->me->def
The equation shall hold for every call cache. However prior to this changeset cc->me could be updated without also updating cc->def. Let's make it sure by introducing new macro named CC_SET_ME which sets cc->me and cc->def at once.
-rw-r--r-- | vm_insnhelper.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -124,6 +124,14 @@ enum vm_regan_acttype { if (LIKELY(enabled)) ((cc)->call = (func)); \ } while (0) #define GET_BLOCK_HANDLER() (GET_LEP()[VM_ENV_DATA_INDEX_SPECVAL]) /**********************************************************/ |