@@ -323,37 +323,37 @@ Object.subclass('Squeak.Interpreter',
323
323
324
324
// Arithmetic Ops... + - < > <= >= = ~= * / @ lshift: lxor: land: lor:
325
325
case 0xB0 : this . success = true ; this . resultIsFloat = false ;
326
- if ( ! this . pop2AndPushNumResult ( this . stackIntOrFloat ( 1 ) + this . stackIntOrFloat ( 0 ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // PLUS +
326
+ if ( ! this . pop2AndPushNumResult ( this . stackIntOrFloat ( 1 ) + this . stackIntOrFloat ( 0 ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // PLUS +
327
327
case 0xB1 : this . success = true ; this . resultIsFloat = false ;
328
- if ( ! this . pop2AndPushNumResult ( this . stackIntOrFloat ( 1 ) - this . stackIntOrFloat ( 0 ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // MINUS -
328
+ if ( ! this . pop2AndPushNumResult ( this . stackIntOrFloat ( 1 ) - this . stackIntOrFloat ( 0 ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // MINUS -
329
329
case 0xB2 : this . success = true ;
330
- if ( ! this . pop2AndPushBoolResult ( this . stackIntOrFloat ( 1 ) < this . stackIntOrFloat ( 0 ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // LESS <
330
+ if ( ! this . pop2AndPushBoolResult ( this . stackIntOrFloat ( 1 ) < this . stackIntOrFloat ( 0 ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // LESS <
331
331
case 0xB3 : this . success = true ;
332
- if ( ! this . pop2AndPushBoolResult ( this . stackIntOrFloat ( 1 ) > this . stackIntOrFloat ( 0 ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // GRTR >
332
+ if ( ! this . pop2AndPushBoolResult ( this . stackIntOrFloat ( 1 ) > this . stackIntOrFloat ( 0 ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // GRTR >
333
333
case 0xB4 : this . success = true ;
334
- if ( ! this . pop2AndPushBoolResult ( this . stackIntOrFloat ( 1 ) <= this . stackIntOrFloat ( 0 ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // LEQ <=
334
+ if ( ! this . pop2AndPushBoolResult ( this . stackIntOrFloat ( 1 ) <= this . stackIntOrFloat ( 0 ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // LEQ <=
335
335
case 0xB5 : this . success = true ;
336
- if ( ! this . pop2AndPushBoolResult ( this . stackIntOrFloat ( 1 ) >= this . stackIntOrFloat ( 0 ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // GEQ >=
336
+ if ( ! this . pop2AndPushBoolResult ( this . stackIntOrFloat ( 1 ) >= this . stackIntOrFloat ( 0 ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // GEQ >=
337
337
case 0xB6 : this . success = true ;
338
- if ( ! this . pop2AndPushBoolResult ( this . stackIntOrFloat ( 1 ) === this . stackIntOrFloat ( 0 ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // EQU =
338
+ if ( ! this . pop2AndPushBoolResult ( this . stackIntOrFloat ( 1 ) === this . stackIntOrFloat ( 0 ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // EQU =
339
339
case 0xB7 : this . success = true ;
340
- if ( ! this . pop2AndPushBoolResult ( this . stackIntOrFloat ( 1 ) !== this . stackIntOrFloat ( 0 ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // NEQ ~=
340
+ if ( ! this . pop2AndPushBoolResult ( this . stackIntOrFloat ( 1 ) !== this . stackIntOrFloat ( 0 ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // NEQ ~=
341
341
case 0xB8 : this . success = true ; this . resultIsFloat = false ;
342
- if ( ! this . pop2AndPushNumResult ( this . stackIntOrFloat ( 1 ) * this . stackIntOrFloat ( 0 ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // TIMES *
342
+ if ( ! this . pop2AndPushNumResult ( this . stackIntOrFloat ( 1 ) * this . stackIntOrFloat ( 0 ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // TIMES *
343
343
case 0xB9 : this . success = true ;
344
- if ( ! this . pop2AndPushIntResult ( this . quickDivide ( this . stackInteger ( 1 ) , this . stackInteger ( 0 ) ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // Divide /
344
+ if ( ! this . pop2AndPushIntResult ( this . quickDivide ( this . stackInteger ( 1 ) , this . stackInteger ( 0 ) ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // Divide /
345
345
case 0xBA : this . success = true ;
346
- if ( ! this . pop2AndPushIntResult ( this . mod ( this . stackInteger ( 1 ) , this . stackInteger ( 0 ) ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // MOD \
346
+ if ( ! this . pop2AndPushIntResult ( this . mod ( this . stackInteger ( 1 ) , this . stackInteger ( 0 ) ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // MOD \
347
347
case 0xBB : this . success = true ;
348
- if ( ! this . primHandler . primitiveMakePoint ( 1 , true ) ) this . sendSpecial ( b & 0xF ) ; return ; // MakePt int@int
348
+ if ( ! this . primHandler . primitiveMakePoint ( 1 , true ) ) this . sendSpecial ( b & 0xF ) ; return ; // MakePt int@int
349
349
case 0xBC : this . success = true ;
350
- if ( ! this . pop2AndPushIntResult ( this . safeShift ( this . stackInteger ( 1 ) , this . stackInteger ( 0 ) ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // bitShift:
350
+ if ( ! this . pop2AndPushIntResult ( this . safeShift ( this . stackInteger ( 1 ) , this . stackInteger ( 0 ) ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // bitShift:
351
351
case 0xBD : this . success = true ;
352
- if ( ! this . pop2AndPushIntResult ( this . div ( this . stackInteger ( 1 ) , this . stackInteger ( 0 ) ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // Divide //
352
+ if ( ! this . pop2AndPushIntResult ( this . div ( this . stackInteger ( 1 ) , this . stackInteger ( 0 ) ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // Divide //
353
353
case 0xBE : this . success = true ;
354
- if ( ! this . pop2AndPushIntResult ( this . stackInteger ( 1 ) & this . stackInteger ( 0 ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // bitAnd:
354
+ if ( ! this . pop2AndPushIntResult ( this . stackInteger ( 1 ) & this . stackInteger ( 0 ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // bitAnd:
355
355
case 0xBF : this . success = true ;
356
- if ( ! this . pop2AndPushIntResult ( this . stackInteger ( 1 ) | this . stackInteger ( 0 ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // bitOr:
356
+ if ( ! this . pop2AndPushIntResult ( this . stackInteger ( 1 ) | this . stackInteger ( 0 ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // bitOr:
357
357
358
358
// at:, at:put:, size, next, nextPut:, ...
359
359
case 0xC0 : case 0xC1 : case 0xC2 : case 0xC3 : case 0xC4 : case 0xC5 : case 0xC6 : case 0xC7 :
@@ -437,37 +437,37 @@ Object.subclass('Squeak.Interpreter',
437
437
438
438
// Arithmetic Ops... + - < > <= >= = ~= * / @ lshift: lxor: land: lor:
439
439
case 0x60 : this . success = true ; this . resultIsFloat = false ;
440
- if ( ! this . pop2AndPushNumResult ( this . stackIntOrFloat ( 1 ) + this . stackIntOrFloat ( 0 ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // PLUS +
440
+ if ( ! this . pop2AndPushNumResult ( this . stackIntOrFloat ( 1 ) + this . stackIntOrFloat ( 0 ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // PLUS +
441
441
case 0x61 : this . success = true ; this . resultIsFloat = false ;
442
- if ( ! this . pop2AndPushNumResult ( this . stackIntOrFloat ( 1 ) - this . stackIntOrFloat ( 0 ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // MINUS -
442
+ if ( ! this . pop2AndPushNumResult ( this . stackIntOrFloat ( 1 ) - this . stackIntOrFloat ( 0 ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // MINUS -
443
443
case 0x62 : this . success = true ;
444
- if ( ! this . pop2AndPushBoolResult ( this . stackIntOrFloat ( 1 ) < this . stackIntOrFloat ( 0 ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // LESS <
444
+ if ( ! this . pop2AndPushBoolResult ( this . stackIntOrFloat ( 1 ) < this . stackIntOrFloat ( 0 ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // LESS <
445
445
case 0x63 : this . success = true ;
446
- if ( ! this . pop2AndPushBoolResult ( this . stackIntOrFloat ( 1 ) > this . stackIntOrFloat ( 0 ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // GRTR >
446
+ if ( ! this . pop2AndPushBoolResult ( this . stackIntOrFloat ( 1 ) > this . stackIntOrFloat ( 0 ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // GRTR >
447
447
case 0x64 : this . success = true ;
448
- if ( ! this . pop2AndPushBoolResult ( this . stackIntOrFloat ( 1 ) <= this . stackIntOrFloat ( 0 ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // LEQ <=
448
+ if ( ! this . pop2AndPushBoolResult ( this . stackIntOrFloat ( 1 ) <= this . stackIntOrFloat ( 0 ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // LEQ <=
449
449
case 0x65 : this . success = true ;
450
- if ( ! this . pop2AndPushBoolResult ( this . stackIntOrFloat ( 1 ) >= this . stackIntOrFloat ( 0 ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // GEQ >=
450
+ if ( ! this . pop2AndPushBoolResult ( this . stackIntOrFloat ( 1 ) >= this . stackIntOrFloat ( 0 ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // GEQ >=
451
451
case 0x66 : this . success = true ;
452
- if ( ! this . pop2AndPushBoolResult ( this . stackIntOrFloat ( 1 ) === this . stackIntOrFloat ( 0 ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // EQU =
452
+ if ( ! this . pop2AndPushBoolResult ( this . stackIntOrFloat ( 1 ) === this . stackIntOrFloat ( 0 ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // EQU =
453
453
case 0x67 : this . success = true ;
454
- if ( ! this . pop2AndPushBoolResult ( this . stackIntOrFloat ( 1 ) !== this . stackIntOrFloat ( 0 ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // NEQ ~=
454
+ if ( ! this . pop2AndPushBoolResult ( this . stackIntOrFloat ( 1 ) !== this . stackIntOrFloat ( 0 ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // NEQ ~=
455
455
case 0x68 : this . success = true ; this . resultIsFloat = false ;
456
- if ( ! this . pop2AndPushNumResult ( this . stackIntOrFloat ( 1 ) * this . stackIntOrFloat ( 0 ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // TIMES *
456
+ if ( ! this . pop2AndPushNumResult ( this . stackIntOrFloat ( 1 ) * this . stackIntOrFloat ( 0 ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // TIMES *
457
457
case 0x69 : this . success = true ;
458
- if ( ! this . pop2AndPushIntResult ( this . quickDivide ( this . stackInteger ( 1 ) , this . stackInteger ( 0 ) ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // Divide /
458
+ if ( ! this . pop2AndPushIntResult ( this . quickDivide ( this . stackInteger ( 1 ) , this . stackInteger ( 0 ) ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // Divide /
459
459
case 0x6A : this . success = true ;
460
- if ( ! this . pop2AndPushIntResult ( this . mod ( this . stackInteger ( 1 ) , this . stackInteger ( 0 ) ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // MOD \
460
+ if ( ! this . pop2AndPushIntResult ( this . mod ( this . stackInteger ( 1 ) , this . stackInteger ( 0 ) ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // MOD \
461
461
case 0x6B : this . success = true ;
462
- if ( ! this . primHandler . primitiveMakePoint ( 1 , true ) ) this . sendSpecial ( b & 0xF ) ; return ; // MakePt int@int
462
+ if ( ! this . primHandler . primitiveMakePoint ( 1 , true ) ) this . sendSpecial ( b & 0xF ) ; return ; // MakePt int@int
463
463
case 0x6C : this . success = true ;
464
- if ( ! this . pop2AndPushIntResult ( this . safeShift ( this . stackInteger ( 1 ) , this . stackInteger ( 0 ) ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // bitShift:
464
+ if ( ! this . pop2AndPushIntResult ( this . safeShift ( this . stackInteger ( 1 ) , this . stackInteger ( 0 ) ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // bitShift:
465
465
case 0x6D : this . success = true ;
466
- if ( ! this . pop2AndPushIntResult ( this . div ( this . stackInteger ( 1 ) , this . stackInteger ( 0 ) ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // Divide //
466
+ if ( ! this . pop2AndPushIntResult ( this . div ( this . stackInteger ( 1 ) , this . stackInteger ( 0 ) ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // Divide //
467
467
case 0x6E : this . success = true ;
468
- if ( ! this . pop2AndPushIntResult ( this . stackInteger ( 1 ) & this . stackInteger ( 0 ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // bitAnd:
468
+ if ( ! this . pop2AndPushIntResult ( this . stackInteger ( 1 ) & this . stackInteger ( 0 ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // bitAnd:
469
469
case 0x6F : this . success = true ;
470
- if ( ! this . pop2AndPushIntResult ( this . stackInteger ( 1 ) | this . stackInteger ( 0 ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // bitOr:
470
+ if ( ! this . pop2AndPushIntResult ( this . stackInteger ( 1 ) | this . stackInteger ( 0 ) ) ) this . sendSpecial ( b & 0xF ) ; return ; // bitOr:
471
471
472
472
// at:, at:put:, size, next, nextPut:, ...
473
473
case 0x70 : case 0x71 : case 0x72 : case 0x73 : case 0x74 : case 0x75 : case 0x76 : case 0x77 :
@@ -690,7 +690,7 @@ Object.subclass('Squeak.Interpreter',
690
690
var sema = this . specialObjects [ Squeak . splOb_TheLowSpaceSemaphore ] ;
691
691
if ( ! sema . isNil ) this . primHandler . synchronousSignal ( sema ) ;
692
692
}
693
- // if(now >= nextPollTick) {
693
+ // if (now >= nextPollTick) {
694
694
// ioProcessEvents(); //sets interruptPending if interrupt key pressed
695
695
// nextPollTick= now + 500; } //msecs to wait before next call to ioProcessEvents"
696
696
if ( this . interruptPending ) {
0 commit comments