diff options
author | Eduardo Julian | 2019-11-07 22:32:32 -0400 |
---|---|---|
committer | Eduardo Julian | 2019-11-07 22:32:32 -0400 |
commit | a23315e79ff58024134e5d20b4a4cb5bd8050152 (patch) | |
tree | a4488a77fba13683eb17e74d69ec701b4d12e4d0 /stdlib/source/lux/target/jvm/attribute/code/exception.lux | |
parent | aab604028e117e505bc408f69dc416fe6d9f46a7 (diff) |
WIP: Major refactoring of JVM bytecode machinery.
Diffstat (limited to 'stdlib/source/lux/target/jvm/attribute/code/exception.lux')
-rw-r--r-- | stdlib/source/lux/target/jvm/attribute/code/exception.lux | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/stdlib/source/lux/target/jvm/attribute/code/exception.lux b/stdlib/source/lux/target/jvm/attribute/code/exception.lux index 97fe962e6..820e5c8a6 100644 --- a/stdlib/source/lux/target/jvm/attribute/code/exception.lux +++ b/stdlib/source/lux/target/jvm/attribute/code/exception.lux @@ -5,13 +5,13 @@ [data [number ["n" nat]] - [format - [".F" binary (#+ Writer)]]]] + ["." format #_ + ["#" binary (#+ Writer)]]]] ["." // #_ ["//#" /// #_ [constant (#+ Class)] ["#." index (#+ Index)] - [instruction + [bytecode ["#." address (#+ Address)]] [encoding ["#." unsigned (#+ U2)]]]]) @@ -36,18 +36,18 @@ Nat ($_ n.+ ## u2 start_pc; - ////unsigned.u2-bytes + ////unsigned.bytes/2 ## u2 end_pc; - ////unsigned.u2-bytes + ////unsigned.bytes/2 ## u2 handler_pc; - ////unsigned.u2-bytes + ////unsigned.bytes/2 ## u2 catch_type; - ////unsigned.u2-bytes + ////unsigned.bytes/2 )) (def: #export writer (Writer Exception) - ($_ binaryF.and + ($_ format.and ////address.writer ////address.writer ////address.writer |