diff options
Diffstat (limited to 'Source/JavaScriptCore/llint')
-rw-r--r-- | Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm | 4 | ||||
-rw-r--r-- | Source/JavaScriptCore/llint/LowLevelInterpreter64.asm | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm b/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm index 53da6424b..83abf380c 100644 --- a/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm +++ b/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm @@ -1398,7 +1398,9 @@ _llint_op_put_by_val: dispatch(5) .opPutByValEmpty: - storeb 1, ArrayProfile::m_mayStoreToHole[t3] + if VALUE_PROFILER + storeb 1, ArrayProfile::m_mayStoreToHole[t3] + end addi 1, ArrayStorage::m_numValuesInVector[t0] bib t2, -sizeof IndexingHeader + IndexingHeader::m_publicLength[t0], .opPutByValStoreResult addi 1, t2, t1 diff --git a/Source/JavaScriptCore/llint/LowLevelInterpreter64.asm b/Source/JavaScriptCore/llint/LowLevelInterpreter64.asm index f4ff5c464..4d614f51f 100644 --- a/Source/JavaScriptCore/llint/LowLevelInterpreter64.asm +++ b/Source/JavaScriptCore/llint/LowLevelInterpreter64.asm @@ -1241,7 +1241,9 @@ _llint_op_put_by_val: dispatch(5) .opPutByValEmpty: - storeb 1, ArrayProfile::m_mayStoreToHole[t3] + if VALUE_PROFILER + storeb 1, ArrayProfile::m_mayStoreToHole[t3] + end addi 1, ArrayStorage::m_numValuesInVector[t0] bib t2, -sizeof IndexingHeader + IndexingHeader::m_publicLength[t0], .opPutByValStoreResult addi 1, t2, t1 |