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/tool/compiler/phase/generation/jvm/structure.lux | |
| parent | aab604028e117e505bc408f69dc416fe6d9f46a7 (diff) | |
WIP: Major refactoring of JVM bytecode machinery.
Diffstat (limited to 'stdlib/source/lux/tool/compiler/phase/generation/jvm/structure.lux')
| -rw-r--r-- | stdlib/source/lux/tool/compiler/phase/generation/jvm/structure.lux | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/source/lux/tool/compiler/phase/generation/jvm/structure.lux b/stdlib/source/lux/tool/compiler/phase/generation/jvm/structure.lux index b75c646e8..b48711dd0 100644 --- a/stdlib/source/lux/tool/compiler/phase/generation/jvm/structure.lux +++ b/stdlib/source/lux/tool/compiler/phase/generation/jvm/structure.lux @@ -10,7 +10,7 @@ [target [jvm ["." constant] - ["_" instruction (#+ Instruction)] + ["_" bytecode (#+ Bytecode)] ["." type]]]] ["." // #_ ["#." runtime (#+ Operation Phase Generator)] @@ -22,7 +22,7 @@ (def: $Object (type.class "java.lang.Object" (list))) -(def: unitG (Instruction Any) (//primitive.text /////synthesis.unit)) +(def: unitG (Bytecode Any) (//primitive.text /////synthesis.unit)) (template: (!integer <value>) (|> <value> .i64 i32.i32 constant.integer)) @@ -54,7 +54,7 @@ (monad.seq @ membersI)))))) (def: (flagG right?) - (-> Bit (Instruction Any)) + (-> Bit (Bytecode Any)) (if right? ..unitG _.aconst-null)) |
