<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Does not happen with standard vm.<br>
<br>
Error:<br>
<br>
<b>TextEditor class <none> umpTarget</b><br>
<br>
umpTarget<b><font color="#ff0000"> Nothing more expected -></font></b>type:
#'AbstractInstruction *'><br>
jumpTarget := cogit cCoerceSimple: (operands at: 0) to:
#'AbstractInstruction *'.<br>
cogit assertSaneJumpTarget: jumpTarget.<br>
(self isAnInstruction: jumpTarget) ifTrue:<br>
[jumpTarget := cogit cCoerceSimple: jumpTarget address to:
#'AbstractInstruction *'].<br>
self assert: jumpTarget ~= 0.<br>
offset := jumpTarget signedIntFromLong - (address + 2)
signedIntFromLong.<br>
(machineCodeSize = 0 "size not determined because no sizeJump
pass; generating initial trampolines"<br>
ifTrue: [self isQuick: offset]<br>
ifFalse: [machineCodeSize = 2]) ifTrue:<br>
[machineCode<br>
at: 0 put: 16r70 + conditionCode;<br>
at: 1 put: (offset bitAnd: 16rFF).<br>
^machineCodeSize := 2].<br>
offset := jumpTarget signedIntFromLong - (address + 6)
signedIntFromLong.<br>
machineCode<br>
at: 0 put: 16r0F;<br>
at: 1 put: 16r80 + conditionCode;<br>
at: 2 put: (offset bitAnd: 16rFF);<br>
at: 3 put: (offset >> 8 bitAnd: 16rFF);<br>
at: 4 put: (offset >> 16 bitAnd: 16rFF);<br>
at: 5 put: (offset >> 24 bitAnd: 16rFF).<br>
^machineCodeSize := 6<br>
</body>
</html>