Commit 4beb6e36 authored by Leonard Mosescu's avatar Leonard Mosescu
Browse files

Code IR lowering (to .dex bytecode)

This is the conversion from code IR to .dex bytecode, including debug information and EH (try/catch blocks)

With this we can do a full roundtrip :
.dex -> dex IR -> code IR -> .dex

In order to allow code IR modifications we need a few more pieces (allocating .dex IR nodes for example)
and helpers to make it easier than manipulating IR data structures directly. This will be added in a follow-up CL.

Also included is a new dexter option for running experiments. The first such experiment is "full_rewrite", which
demonstrates the full roundtrip through code IR.

Test: bazel test :dexter_tests

Change-Id: I34db27b07aa827592c618ddb01ddb816ff8cf590
parent e67e867f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment