Changeset 161364 in webkit for trunk/Source/JavaScriptCore/llint/LLIntSlowPaths.cpp
- Timestamp:
- Jan 6, 2014, 12:41:32 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/llint/LLIntSlowPaths.cpp
r161356 r161364 120 120 } while (false) 121 121 122 #if ENABLE(VALUE_PROFILER)123 122 #define LLINT_RETURN_PROFILED(opcode, value) do { \ 124 123 JSValue __rp_returnValue = (value); \ … … 133 132 JSValue::encode(value); \ 134 133 } while (false) 135 136 #else // ENABLE(VALUE_PROFILER)137 #define LLINT_RETURN_PROFILED(opcode, value) LLINT_RETURN(value)138 139 #define LLINT_PROFILE_VALUE(opcode, value) do { } while (false)140 141 #endif // ENABLE(VALUE_PROFILER)142 134 143 135 #define LLINT_CALL_END_IMPL(exec, callTarget) LLINT_RETURN_TWO((callTarget), (exec)) … … 566 558 && ident == exec->propertyNames().length) { 567 559 pc[0].u.opcode = LLInt::getOpcode(llint_op_get_array_length); 568 #if ENABLE(VALUE_PROFILER)569 560 ArrayProfile* arrayProfile = codeBlock->getOrAddArrayProfile(pc - codeBlock->instructions().begin()); 570 561 arrayProfile->observeStructure(baseValue.asCell()->structure()); 571 562 pc[4].u.arrayProfile = arrayProfile; 572 #endif 573 } 574 575 #if ENABLE(VALUE_PROFILER) 563 } 564 576 565 pc[OPCODE_LENGTH(op_get_by_id) - 1].u.profile->m_buckets[0] = JSValue::encode(result); 577 #endif578 566 LLINT_END(); 579 567 }
Note:
See TracChangeset
for help on using the changeset viewer.