diff options
author | Eric Holk <eholk@google.com> | 2018-10-11 16:25:57 -0700 |
---|---|---|
committer | Eric Holk <eholk@google.com> | 2018-11-07 00:05:48 +0000 |
commit | faefd4f6c769436f333b153c8fc33bb476b57c2c (patch) | |
tree | 7dcdc432747ef1c64e5c1ce9f4b592b16a6cf5ae /rs/java/android/renderscript/ProgramStore.java | |
parent | 009b2dd158183062f4c9ad681636797350699f57 (diff) |
[view-compiler] Support method declaration and invocation in Dex builder
The Dex builder can now generate calls to methods (although not in all forms
yet). To help do this, we add a new virtual Instruction and Value class. This is
needed to generate code with values that are not known until the entire method
has been generated. In particular, we can now refer to function parameters.
The test method now accepts a String and returns the the length of the string.
Bug: 111895153
Change-Id: I11d52b083ae51d8151fccb1a65e45d40ff05fd81
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions