diff options
| author | Ben Winston | 2023-05-22 20:12:40 -0400 |
|---|---|---|
| committer | Ben Winston | 2023-05-22 20:12:40 -0400 |
| commit | b7fba62e9f1f9f7a5a67fd64d4aed55646d1b58e (patch) | |
| tree | 42c192475ed3e17dd57203cab03b41f1cbca40a9 /chunk.d | |
| parent | 229859cde2f0dae4714b972cf18e923027db265c (diff) | |
runtime type checking
Diffstat (limited to 'chunk.d')
| -rw-r--r-- | chunk.d | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -58,6 +58,9 @@ enum OpCode { OP_JUMP_IF_TRUE, OP_CALL, + + OP_TYPE_CHECK_NUMBER, + OP_TYPE_CHECK_BOOLEAN, } class Chunk { |
