diff options
author | Igor Murashkin <iam@google.com> | 2015-06-18 10:05:11 -0700 |
---|---|---|
committer | Igor Murashkin <iam@google.com> | 2015-06-22 14:13:30 -0700 |
commit | 2ee54e249ad21c74f29a161e248bebe7d22fddf1 (patch) | |
tree | 125465dd7a6d23f83ecbf2d3454f21471868422c /compiler/optimizing/graph_visualizer.cc | |
parent | 158f35c98e2ec0d40d2c032b8cdce5fb60944a7f (diff) |
runtime: Partially implement box-lambda and unbox-lambda experimental opcodes
These opcodes are not yet fully specified, and *will* change before they become shippable.
Do not write production code against experimental opcodes.
--
Implement partial interpreter support for new dex instructions box/unbox-lambda.
* box-lambda will take a closure and convert it into an Object
* unbox-lambda will take an Object and convert it to a closure
(Currently does not implement object identity or variable capture).
All new opcodes are disabled by default, use runtime option -Xexperimental-lambdas to enable them.
Change-Id: I3c15ccf8a26ccecd1d35808a8c1b4149220f6019
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions