Changeset 151405 in webkit
- Timestamp:
- Jun 10, 2013, 2:50:01 PM (12 years ago)
- Location:
- branches/dfgFourthTier
- Files:
-
- 3 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/dfgFourthTier/LayoutTests/ChangeLog
r151401 r151405 1 2013-06-09 Filip Pizlo <fpizlo@apple.com> 2 3 Merge trunk r146653. 4 5 2013-03-22 Filip Pizlo <fpizlo@apple.com> 6 7 DFG folding of PutById to SimpleReplace should consider the specialized function case 8 https://bugs.webkit.org/show_bug.cgi?id=113093 9 10 Reviewed by Geoffrey Garen and Mark Hahnenberg. 11 12 * fast/js/dfg-cfa-prove-put-by-id-simple-when-storing-to-specialized-function-expected.txt: Added. 13 * fast/js/dfg-cfa-prove-put-by-id-simple-when-storing-to-specialized-function.html: Added. 14 * fast/js/jsc-test-list: 15 * fast/js/script-tests/dfg-cfa-prove-put-by-id-simple-when-storing-to-specialized-function.js: Added. 16 (foo): 17 (baz): 18 (fuzz): 19 1 20 2013-06-10 Geoffrey Garen <ggaren@apple.com> 2 21 -
branches/dfgFourthTier/LayoutTests/fast/js/jsc-test-list
r150780 r151405 99 99 fast/js/dfg-captured-var-get-local 100 100 fast/js/dfg-cfa-merge-with-dead-use-at-tail 101 fast/js/dfg-cfa-prove-put-by-id-simple-when-storing-to-specialized-function 101 102 fast/js/dfg-cfg-simplify-eliminate-set-local-type-check-then-branch-not-null 102 103 fast/js/dfg-cfg-simplify-eliminate-set-local-type-check-then-branch-not-null-and-decrement -
branches/dfgFourthTier/LayoutTests/fast/js/resources/js-test-pre.js
r151130 r151405 576 576 { 577 577 var numberOfCompiles = "compiles" in argument ? argument.compiles : 1; 578 579 if (!("f" in argument)) 580 throw new Error("dfgCompiled called with invalid argument."); 578 581 579 582 if (argument.f instanceof Array) { -
branches/dfgFourthTier/Source/JavaScriptCore/ChangeLog
r151401 r151405 1 2013-06-09 Filip Pizlo <fpizlo@apple.com> 2 3 Marge trunk r146653. 4 5 2013-03-22 Filip Pizlo <fpizlo@apple.com> 6 7 DFG folding of PutById to SimpleReplace should consider the specialized function case 8 https://bugs.webkit.org/show_bug.cgi?id=113093 9 10 Reviewed by Geoffrey Garen and Mark Hahnenberg. 11 12 * bytecode/PutByIdStatus.cpp: 13 (JSC::PutByIdStatus::computeFor): 14 1 15 2013-06-10 Geoffrey Garen <ggaren@apple.com> 2 16 -
branches/dfgFourthTier/Source/JavaScriptCore/bytecode/PutByIdStatus.cpp
r151401 r151405 161 161 162 162 unsigned attributes; 163 JSCell* specificValueIgnored; 164 PropertyOffset offset = structure->getConcurrently( 165 vm, uid, attributes, specificValueIgnored); 163 JSCell* specificValue; 164 PropertyOffset offset = structure->getConcurrently(vm, uid, attributes, specificValue); 166 165 if (isValidOffset(offset)) { 167 166 if (attributes & (Accessor | ReadOnly)) 168 167 return PutByIdStatus(TakesSlowPath); 168 if (specificValue) { 169 // We need the PutById slow path to verify that we're storing the right value into 170 // the specialized slot. 171 return PutByIdStatus(TakesSlowPath); 172 } 169 173 return PutByIdStatus(SimpleReplace, structure, 0, 0, offset); 170 174 }
Note:
See TracChangeset
for help on using the changeset viewer.