diff options
| author | Andrew Chambers <[email protected]> | 2021-10-13 14:07:29 +1300 |
|---|---|---|
| committer | Andrew Chambers <[email protected]> | 2021-10-13 14:07:29 +1300 |
| commit | 0e5a699f01e63ef44e40bf30033e17c5f4731ab8 (patch) | |
| tree | d3d9aed902c49784b88327bdcf29577a27241c33 /asm.peg | |
| parent | 7f51b475428aa2c0b505e1946870cb82a1155409 (diff) | |
Add parsev interning.
Diffstat (limited to 'asm.peg')
| -rw-r--r-- | asm.peg | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -126,9 +126,9 @@ pop = call = "call" 'q'? ws ( '*' t:m - { $$.call = (Call){ .kind = ASM_CALL, .target.indirect=dupv(&t), .indirect=1 } ; } + { $$.call = (Call){ .kind = ASM_CALL, .target.indirect=internparsev(&t), .indirect=1 } ; } | '*' t:r64 - { $$.call = (Call){ .kind = ASM_CALL, .target.indirect=dupv(&t), .indirect=1 } ; } + { $$.call = (Call){ .kind = ASM_CALL, .target.indirect=internparsev(&t), .indirect=1 } ; } | t:value { $$.call = (Call){ .kind = ASM_CALL, .target.direct=t.value, .indirect=0 } ; } ) |
