while resolve 'equals' as a fake call do not throw away temporary trace

This commit is contained in:
Svetlana Isakova
2013-12-05 19:53:33 +04:00
parent 499783fbc6
commit 41f2fcbb40
7 changed files with 20 additions and 45 deletions
@@ -304,7 +304,7 @@ L4 [start finally]:
mark(list != null)
r(list)
r(null)
call(list != null, equals)
call(!=, equals)
jf(L5) NEXT:[read (Unit), mark({ })]
mark({ })
read (Unit)
@@ -320,7 +320,7 @@ L3 [skipFinallyToErrorBlock]:
mark(list != null)
r(list)
r(null)
call(list != null, equals)
call(!=, equals)
jf(copy L5) NEXT:[read (Unit), mark({ })]
mark({ })
read (Unit)
+1 -1
View File
@@ -15,7 +15,7 @@ L0:
mark(a == b)
r(a)
r(b)
call(a == b, equals)
call(==, equals)
jf(L2) NEXT:[read (Unit), mark({ })]
mark({ })
read (Unit)
+1 -1
View File
@@ -14,7 +14,7 @@ L0:
mark(a != b)
r(a)
r(b)
call(a != b, equals)
call(!=, equals)
jf(L2) NEXT:[read (Unit), mark({})]
mark({})
read (Unit)
@@ -18,7 +18,7 @@ L0:
mark(toLong())
r(0)
call(toLong, toLong)
call(x == 0.toLong(), equals)
call(==, equals)
jf(L2) NEXT:[read (Unit), r(sum)]
r(sum)
ret(*) L1 NEXT:[<END>]