RFR: 8257231: assert(!is_mcall || (call_returns[block->_pre_order] <= (uint) current_offset))

Patric Hedlin phedlin at openjdk.java.net
Tue Dec 1 11:50:03 UTC 2020


The assert is executed directly after an emit-function that might have resulted in failure, and prior to the necessary error/failure detection. Moving the assert till after the failure exit solves the issue.

-------------

Commit messages:
 - 8257231: assert(!is_mcall || (call_returns[block->_pre_order] <= (uint) current_offset))

Changes: https://git.openjdk.java.net/jdk/pull/1537/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1537&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8257231
  Stats: 5 lines in 1 file changed: 3 ins; 2 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/1537.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/1537/head:pull/1537

PR: https://git.openjdk.java.net/jdk/pull/1537


More information about the hotspot-compiler-dev mailing list