mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
I will remember that stacked values are not boxed.
I will remember that stacked values are not boxed. I will remember that stacked values are not boxed. I will remember that stacked values are not boxed.
This commit is contained in:
parent
9c69964575
commit
d180a6755d
@ -127,9 +127,6 @@ int32 FASTCALL builtin_doubleToUint32(jsdouble d)
|
||||
|
||||
jsdouble FASTCALL builtin_Math_dot_sin(jsdouble d)
|
||||
{
|
||||
#ifdef DEBUG_shaver
|
||||
fprintf(stderr, "inside Math.sin helper\n");
|
||||
#endif
|
||||
return sin(d);
|
||||
}
|
||||
|
||||
|
@ -1932,12 +1932,7 @@ bool TraceRecorder::record_JSOP_CALL()
|
||||
ABORT_TRACE("Math.sin: only numeric arg permitted");
|
||||
|
||||
LIns* arg_ins = get(&arg);
|
||||
if (!unbox_jsval(arg, arg_ins))
|
||||
return false;
|
||||
|
||||
LIns* math_sin_ins = lir->insCall(F_Math_dot_sin, &arg_ins);
|
||||
if (!box_jsval(arg, math_sin_ins)) // we know arg is a number
|
||||
ABORT_TRACE("Math.sin: not really a number?!");
|
||||
set(&fval, math_sin_ins);
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user