Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Commit

Permalink
fix bool arrays
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Grosse committed Oct 7, 2016
1 parent ced2756 commit 53caf1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions enjarify/jvm/writeir.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
_newArrayCodes = {('['+t).encode(): v for t, v in zip('ZCFDBSIJ', range(4, 12))}
_arrStoreOps = {t.encode(): v for t, v in zip('IJFD BCS', range(IASTORE, SASTORE+1))}
_arrLoadOps = {t.encode(): v for t, v in zip('IJFD BCS', range(IALOAD, SALOAD+1))}
_arrStoreOps[u'Z'] = BASTORE
_arrLoadOps[u'Z'] = BALOAD
_arrStoreOps[b'Z'] = BASTORE
_arrLoadOps[b'Z'] = BALOAD

# For generating IR instructions corresponding to a single Dalvik instruction
class IRBlock:
Expand Down

0 comments on commit 53caf1c

Please sign in to comment.