mirror of
https://github.com/gnustep/libs-steptalk.git
synced 2025-02-15 16:10:52 +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>
|
||||
|
||||
* STSmalltalkScriptObject.m (forwardInvocation:):
|
||||
|
|
|
@ -511,12 +511,12 @@ static Class NSInvocation_class = nil;
|
|||
|
||||
case STPushTrueBytecode:
|
||||
STDebugBytecodeWith(bytecode,receiver);
|
||||
STPush(stack,[NSNumber numberWithInt:YES]);
|
||||
STPush(stack,[NSNumber numberWithBool:YES]);
|
||||
break;
|
||||
|
||||
case STPushFalseBytecode:
|
||||
STDebugBytecodeWith(bytecode,receiver);
|
||||
STPush(stack,[NSNumber numberWithInt:NO]);
|
||||
STPush(stack,[NSNumber numberWithBool:NO]);
|
||||
break;
|
||||
|
||||
case STPushRecVarBytecode:
|
||||
|
|
Loading…
Reference in a new issue