Changeset 251106 in webkit for trunk/Source/JavaScriptCore/runtime/CommonSlowPaths.cpp
- Timestamp:
- Oct 14, 2019, 3:52:11 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/CommonSlowPaths.cpp
r251090 r251106 488 488 static void updateArithProfileForUnaryArithOp(OpNegate::Metadata& metadata, JSValue result, JSValue operand) 489 489 { 490 UnaryArithProfile& profile = metadata.m_arithProfile;491 profile.observe Arg(operand);490 ArithProfile& profile = metadata.m_arithProfile; 491 profile.observeLHS(operand); 492 492 ASSERT(result.isNumber() || result.isBigInt()); 493 493 if (result.isNumber()) { … … 547 547 { 548 548 CodeBlock* codeBlock = exec->codeBlock(); 549 BinaryArithProfile& profile = *codeBlock->binaryArithProfileForPC(pc);549 ArithProfile& profile = *codeBlock->arithProfileForPC(pc); 550 550 551 551 if (result.isNumber()) { … … 608 608 JSValue v2 = GET_C(bytecode.m_rhs).jsValue(); 609 609 610 BinaryArithProfile& arithProfile = *exec->codeBlock()->binaryArithProfileForPC(pc);610 ArithProfile& arithProfile = *exec->codeBlock()->arithProfileForPC(pc); 611 611 arithProfile.observeLHSAndRHS(v1, v2); 612 612
Note:
See TracChangeset
for help on using the changeset viewer.