mirror of
https://github.com/gnustep/libs-steptalk.git
synced 2025-02-21 02:31:01 +00:00
Use numberWithBool: when pushing true and false values onto the stack.
This commit is contained in:
parent
09841d976e
commit
9a3eef25c5
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2019-03-27 Wolfgang Lux <wolfgang.lux@gmail.com>
|
||||||
|
|
||||||
|
* STBytecodeInterpreter.m (dispatchBytecode:):
|
||||||
|
Use numberWithBool: when pushing true and false values onto the stack.
|
||||||
|
|
||||||
2019-03-25 Wolfgang Lux <wolfgang.lux@gmail.com>
|
2019-03-25 Wolfgang Lux <wolfgang.lux@gmail.com>
|
||||||
|
|
||||||
* STSmalltalkScriptObject.m (forwardInvocation:):
|
* STSmalltalkScriptObject.m (forwardInvocation:):
|
||||||
|
|
|
@ -511,12 +511,12 @@ static Class NSInvocation_class = nil;
|
||||||
|
|
||||||
case STPushTrueBytecode:
|
case STPushTrueBytecode:
|
||||||
STDebugBytecodeWith(bytecode,receiver);
|
STDebugBytecodeWith(bytecode,receiver);
|
||||||
STPush(stack,[NSNumber numberWithInt:YES]);
|
STPush(stack,[NSNumber numberWithBool:YES]);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case STPushFalseBytecode:
|
case STPushFalseBytecode:
|
||||||
STDebugBytecodeWith(bytecode,receiver);
|
STDebugBytecodeWith(bytecode,receiver);
|
||||||
STPush(stack,[NSNumber numberWithInt:NO]);
|
STPush(stack,[NSNumber numberWithBool:NO]);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case STPushRecVarBytecode:
|
case STPushRecVarBytecode:
|
||||||
|
|
Loading…
Reference in a new issue