Skip to content

Commit adfb8cc

Browse files
committed
stack: renamed jvm_frame.getClass() -> jvm_frame.findClass()
1 parent e884c66 commit adfb8cc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/jvm/execute.fs

+2-2
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ require exception.fs
389389
\ 2dup type CR
390390
( c-addr1 n1 c-addr2 n2)
391391
2swap
392-
jvm_stack.getClass() throw
392+
jvm_stack.findClass() throw
393393
-rot
394394
( addr_cl c-addr n)
395395
jvm_class.getStatic() throw
@@ -909,7 +909,7 @@ require exception.fs
909909
\ 2dup type CR
910910
( c-addr1 n1 c-addr2 n2)
911911
2swap
912-
jvm_stack.getClass() throw
912+
jvm_stack.findClass() throw
913913
-rot
914914
( addr_cl c-addr n)
915915
3 pick \ get value

src/jvm/stack.fs

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jvm_stack.new() constant jvm_stack
5959

6060

6161
\ FIXME change to findClass!
62-
: jvm_stack.getClass() { c-addr n -- addr2 woir }
62+
: jvm_stack.findClass() { c-addr n -- addr2 woir }
6363
\ *G get the address of a class
6464
c-addr n
6565
jvm_stack jvm_stack.classes + @
@@ -149,7 +149,7 @@ jvm_stack.new() constant jvm_stack
149149
\ *G Start the execution by invoking public static void main(String[] args)
150150
\ ." : jvm_stack.invokeInitial() { c-addr n -- wior } " .s CR
151151
assert( depth 0 = )
152-
c-addr n jvm_stack.getClass() throw
152+
c-addr n jvm_stack.findClass() throw
153153
dup jvm_class.getStatus()
154154
CASE
155155
( addr_cl )

0 commit comments

Comments
 (0)