set up quickening for adds

This commit is contained in:
2025-12-30 00:39:43 -06:00
parent 058ad89c96
commit 0664c11af6

View File

@@ -14777,6 +14777,7 @@ static JSValue JS_CallInternal_OLD(JSContext *caller_ctx, JSValueConst func_obj,
BREAK;
CASE(OP_add):
CASE(OP_add_float):
{
JSValue op1 = sp[-2], op2 = sp[-1], res;
int tag1 = JS_VALUE_GET_NORM_TAG(op1);
@@ -14882,6 +14883,7 @@ static JSValue JS_CallInternal_OLD(JSContext *caller_ctx, JSValueConst func_obj,
}
BREAK;
CASE(OP_sub):
CASE(OP_sub_float):
{
JSValue op1, op2;
op1 = sp[-2];
@@ -14903,6 +14905,7 @@ static JSValue JS_CallInternal_OLD(JSContext *caller_ctx, JSValueConst func_obj,
}
BREAK;
CASE(OP_mul):
CASE(OP_mul_float):
{
JSValue op1, op2;
double d;
@@ -14936,6 +14939,7 @@ static JSValue JS_CallInternal_OLD(JSContext *caller_ctx, JSValueConst func_obj,
}
BREAK;
CASE(OP_div):
CASE(OP_div_float):
{
JSValue op1, op2;
op1 = sp[-2];