diff options
| author | Darrick Wiebe <darrickw@gmail.com> | 2025-04-15 17:39:27 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-15 14:39:27 -0700 |
| commit | b74f35618c087e4e6634707c6e03ca669315bcc9 (patch) | |
| tree | 2394dd59ef8bdb3a79b1bc9363b4550dd0ede702 /chapter21/src/main/java/com/seaofnodes | |
| parent | d4d894407b9cbf83217da3bde1ecbd6d783297e4 (diff) | |
| download | Simple-b74f35618c087e4e6634707c6e03ca669315bcc9.tar.gz Simple-b74f35618c087e4e6634707c6e03ca669315bcc9.zip | |
Remove incorrect assert (#205)
Diffstat (limited to 'chapter21/src/main/java/com/seaofnodes')
| -rw-r--r-- | chapter21/src/main/java/com/seaofnodes/simple/codegen/Encoding.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/chapter21/src/main/java/com/seaofnodes/simple/codegen/Encoding.java b/chapter21/src/main/java/com/seaofnodes/simple/codegen/Encoding.java index 74c128be..118ca47c 100644 --- a/chapter21/src/main/java/com/seaofnodes/simple/codegen/Encoding.java +++ b/chapter21/src/main/java/com/seaofnodes/simple/codegen/Encoding.java @@ -349,7 +349,6 @@ public class Encoding { // Delta is from opStart to opStart. X86 at least counts // the delta from the opEnd, but we don't have the end until // we decide the size - so the encSize has to deal - assert _opStart[target._nid] > 0; int delta = _opStart[target._nid] - _opStart[bb._nid]; byte opLen = riprel.encSize(delta); // Recorded size is smaller than the current size? |
