commit | 30781f15af69059c2e10a776872fe35dc038a940 | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Wed Nov 02 11:28:11 2022 +0100 |
committer | VladimĂr Marko <vmarko@google.com> | Fri Nov 04 17:30:56 2022 +0000 |
tree | 5e0a7eb6832756b0a92dd62227c2a1327964ba11 | |
parent | 6df70e9ccdf89c99350a5495e68b493167872ceb [diff] |
Faster class retrieval in nterp. Split `NterpGetClassOrAllocateObject` to two individual functions to avoid a slow `switch` and an `if`. Also deduplicate exception throwing code in nterp. Test: testrunner.py --host --interpreter --jit Test: testrunner.py --target --interpreter --jit Change-Id: I927af8f534c43d0bd760f555c0de1dd220f7df93