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