aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/target/jvm/attribute/code/exception.lux
diff options
context:
space:
mode:
authorEduardo Julian2019-06-26 23:48:29 -0400
committerEduardo Julian2019-06-26 23:48:29 -0400
commit4f191540f831a7bba0e262b1a6b598f99fb9b35c (patch)
treef9c3523b9d8ec5f02dd5bf348268dcf39d192f30 /stdlib/source/lux/target/jvm/attribute/code/exception.lux
parent8a65c2faa8b0f038e93536af27940c359eb1d3fd (diff)
Constant pool support, finished label machinery, and enhanced machinery for writing bytecode instructions.
Diffstat (limited to 'stdlib/source/lux/target/jvm/attribute/code/exception.lux')
-rw-r--r--stdlib/source/lux/target/jvm/attribute/code/exception.lux26
1 files changed, 13 insertions, 13 deletions
diff --git a/stdlib/source/lux/target/jvm/attribute/code/exception.lux b/stdlib/source/lux/target/jvm/attribute/code/exception.lux
index 9c4c1ed38..19de9c789 100644
--- a/stdlib/source/lux/target/jvm/attribute/code/exception.lux
+++ b/stdlib/source/lux/target/jvm/attribute/code/exception.lux
@@ -13,22 +13,22 @@
[constant (#+ Class)]
["#." index (#+ Index)]
[program
- ["#." label (#+ Label)]]
+ ["#." jump (#+ Jump)]]
[encoding
["#." unsigned (#+ U2)]]]])
(type: #export Exception
- {#start-pc Label
- #end-pc Label
- #handler-pc Label
+ {#start-pc Jump
+ #end-pc Jump
+ #handler-pc Jump
#catch-type (Index Class)})
(def: #export equivalence
(Equivalence Exception)
($_ equivalence.product
- ////label.equivalence
- ////label.equivalence
- ////label.equivalence
+ ////jump.equivalence
+ ////jump.equivalence
+ ////jump.equivalence
////index.equivalence
))
@@ -49,17 +49,17 @@
(def: #export parser
(Parser Exception)
($_ <>.and
- ////label.parser
- ////label.parser
- ////label.parser
+ ////jump.parser
+ ////jump.parser
+ ////jump.parser
////index.parser
))
(def: #export writer
(Writer Exception)
($_ binaryF.and
- ////label.writer
- ////label.writer
- ////label.writer
+ ////jump.writer
+ ////jump.writer
+ ////jump.writer
////index.writer
))