diff options
| author | 2018-06-27 08:54:43 +0000 | |
|---|---|---|
| committer | 2018-06-27 08:54:43 +0000 | |
| commit | a84b53a0a5404f4049f24300dbc81bc859b12105 (patch) | |
| tree | 7c411fda0733b048625cd09a5fda214f1eb69135 /compiler/exception_test.cc | |
| parent | a98d9e76ed2486db9a7490a6e421a509ab2f6e2d (diff) | |
| parent | f6ba5b316b51d0fb9f91cb51a42e51dfeee62ee4 (diff) | |
Merge "Add method frame info to CodeInfo."
Diffstat (limited to 'compiler/exception_test.cc')
| -rw-r--r-- | compiler/exception_test.cc | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/compiler/exception_test.cc b/compiler/exception_test.cc index 8235be943b..b56a991e74 100644 --- a/compiler/exception_test.cc +++ b/compiler/exception_test.cc @@ -77,13 +77,10 @@ class ExceptionTest : public CommonRuntimeTest { ArenaStack arena_stack(&pool); ScopedArenaAllocator allocator(&arena_stack); StackMapStream stack_maps(&allocator, kRuntimeISA); - stack_maps.BeginStackMapEntry(kDexPc, - native_pc_offset, - /* register_mask */ 0u, - /* sp_mask */ nullptr, - /* num_dex_registers */ 0u, - /* inlining_depth */ 0u); + stack_maps.BeginMethod(4 * sizeof(void*), 0u, 0u, 0u); + stack_maps.BeginStackMapEntry(kDexPc, native_pc_offset); stack_maps.EndStackMapEntry(); + stack_maps.EndMethod(); const size_t stack_maps_size = stack_maps.PrepareForFillIn(); const size_t header_size = sizeof(OatQuickMethodHeader); const size_t code_alignment = GetInstructionSetAlignment(kRuntimeISA); |