commit | a0512eb2112cc925d177c7364be72d429156a5e9 | [log] [tgz] |
---|---|---|
author | Nicolas Geoffray <ngeoffray@google.com> | Fri Mar 18 17:46:14 2022 +0000 |
committer | Nicolas Geoffray <ngeoffray@google.com> | Mon Mar 21 12:55:49 2022 +0000 |
tree | 71dec7c4acc447ec0457bd98fc06f105cd78d3d0 | |
parent | 3ab2474fa0b3bc8a09279d3aa33f0651522a420d [diff] |
Fix bogus instructions in START_EXECUTING_INSTRUCTIONS. Bogus instructions introduced in: https://android-review.googlesource.com/1991994 Test: m and golem benchmarks Bug: 162110941 Change-Id: I849f775e287ca6a1dadec33a5f9d78a7e06c30ce
diff --git a/runtime/interpreter/mterp/x86ng/main.S b/runtime/interpreter/mterp/x86ng/main.S index 1077bcf..db8519b 100644 --- a/runtime/interpreter/mterp/x86ng/main.S +++ b/runtime/interpreter/mterp/x86ng/main.S
@@ -974,11 +974,10 @@ #endif // If the counter is at zero, handle this in the runtime. testl %ecx, %ecx - je 2f + je 3f // Update counter. addl $$-1, %ecx movw %cx, ART_METHOD_HOTNESS_COUNT_OFFSET(%eax) - jz 3f 1: testl $$(THREAD_SUSPEND_OR_CHECKPOINT_REQUEST), rSELF:THREAD_FLAGS_OFFSET jz 2f