Changeset 252273 in webkit for trunk/Source/JavaScriptCore/runtime/CommonSlowPaths.cpp
- Timestamp:
- Nov 8, 2019, 4:11:28 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/CommonSlowPaths.cpp
r252229 r252273 478 478 static void updateArithProfileForUnaryArithOp(OpNegate::Metadata& metadata, JSValue result, JSValue operand) 479 479 { 480 UnaryArithProfile& profile = metadata.m_arithProfile;481 profile.observe Arg(operand);480 ArithProfile& profile = metadata.m_arithProfile; 481 profile.observeLHS(operand); 482 482 ASSERT(result.isNumber() || result.isBigInt()); 483 483 if (result.isNumber()) { … … 536 536 static void updateArithProfileForBinaryArithOp(JSGlobalObject*, CodeBlock* codeBlock, const Instruction* pc, JSValue result, JSValue left, JSValue right) 537 537 { 538 BinaryArithProfile& profile = *codeBlock->binaryArithProfileForPC(pc);538 ArithProfile& profile = *codeBlock->arithProfileForPC(pc); 539 539 540 540 if (result.isNumber()) { … … 597 597 JSValue v2 = GET_C(bytecode.m_rhs).jsValue(); 598 598 599 BinaryArithProfile& arithProfile = *codeBlock->binaryArithProfileForPC(pc);599 ArithProfile& arithProfile = *codeBlock->arithProfileForPC(pc); 600 600 arithProfile.observeLHSAndRHS(v1, v2); 601 601
Note:
See TracChangeset
for help on using the changeset viewer.