From 79263e424709885da08a0cada2ace6cd744158d7 Mon Sep 17 00:00:00 2001 From: Cliff Click Date: Sun, 30 Mar 2025 11:19:14 -0700 Subject: Encode ptr loads ptrs become 64b Fix Cmp encoding --- chapter21/src/test/java/com/seaofnodes/simple/Chapter13Test.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chapter21/src/test/java/com') diff --git a/chapter21/src/test/java/com/seaofnodes/simple/Chapter13Test.java b/chapter21/src/test/java/com/seaofnodes/simple/Chapter13Test.java index 977595cb..6bf45a22 100644 --- a/chapter21/src/test/java/com/seaofnodes/simple/Chapter13Test.java +++ b/chapter21/src/test/java/com/seaofnodes/simple/Chapter13Test.java @@ -33,7 +33,7 @@ while( arg ) { return head.next.i; """); try { code.parse().opto().typeCheck(); fail(); } - catch( Exception e ) { assertEquals("Might be null accessing 'i'",e.getMessage()); } + catch( Exception e ) { assertEquals("Might be null accessing 'next'",e.getMessage()); } } @Test -- cgit v1.2.3