diff options
| author | 2018-06-14 10:01:05 +0000 | |
|---|---|---|
| committer | 2018-06-14 10:01:05 +0000 | |
| commit | 60204d2f1710acdea0294eba242ecbcb01867730 (patch) | |
| tree | 4154f14b139d62ddc806695b981b102e47039d46 /compiler/optimizing/stack_map_stream.h | |
| parent | 7a3e7833c44e76e1e0f53104795c89c237c341f0 (diff) | |
| parent | 50fac06c51864f293c61ff9d0983b82698cf6dac (diff) | |
Merge "Add Kind column to stack maps."
Diffstat (limited to 'compiler/optimizing/stack_map_stream.h')
| -rw-r--r-- | compiler/optimizing/stack_map_stream.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/compiler/optimizing/stack_map_stream.h b/compiler/optimizing/stack_map_stream.h index 02fb6cb434..06868476bc 100644 --- a/compiler/optimizing/stack_map_stream.h +++ b/compiler/optimizing/stack_map_stream.h @@ -27,11 +27,10 @@ #include "dex_register_location.h" #include "method_info.h" #include "nodes.h" +#include "stack_map.h" namespace art { -class CodeInfo; - /** * Collects and builds stack maps for a method. All the stack maps * for a method are placed in a CodeInfo object. @@ -66,7 +65,8 @@ class StackMapStream : public ValueObject { uint32_t register_mask, BitVector* sp_mask, uint32_t num_dex_registers, - uint8_t inlining_depth); + uint8_t inlining_depth, + StackMap::Kind kind = StackMap::Kind::Default); void EndStackMapEntry(); void AddDexRegisterEntry(DexRegisterLocation::Kind kind, int32_t value); @@ -99,6 +99,7 @@ class StackMapStream : public ValueObject { // The fields must be uint32_t and mirror the StackMap accessor in stack_map.h! struct StackMapEntry { + uint32_t kind; uint32_t packed_native_pc; uint32_t dex_pc; uint32_t register_mask_index; |