• sgjesse@chromium.org's avatar
    Fixed the step in handling for function.apply. · a74fcf45
    sgjesse@chromium.org authored
    The generic step-in mechanism floods the function called with break points to ensure a break is hit when entering the function. This generic mechanism was also used for function.apply. The code for function.apply contains a keyed load IC which was patched when stepping into function.apply. However function.apply enteres an internal frame not a JavaScript frame. This caused the logic for returning from the break in function.apply to fail as it forced a jump to the IC on the top JavaScript frame. The top JavaScript frame was the frame for the function calling function.apply not the frame for the apply function. Now returning from the break point in the keyed load IC in the apply code caused a jump to the code for the call IC for the function calling function.apply in the first place. Not a pretty sight.
    
    Step-in now handles function.apply as a separate case where the actual JavaScript function called through apply is flodded with breakpoints instead of the function.apply function.
    
    BUG=269
    BUG=8210@chromium.org
    Review URL: http://codereview.chromium.org/63055
    
    git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1683 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
    a74fcf45
Name
Last commit
Last update
..
regress-1030466.js Loading commit data...
regress-1036894.js Loading commit data...
regress-1039610.js Loading commit data...
regress-1050043.js Loading commit data...
regress-1062422.js Loading commit data...
regress-1066899.js Loading commit data...
regress-1081309.js Loading commit data...
regress-1102760.js Loading commit data...
regress-1110164.js Loading commit data...
regress-1112051.js Loading commit data...
regress-1114040.js Loading commit data...
regress-1134697.js Loading commit data...
regress-114.js Loading commit data...
regress-116.js Loading commit data...
regress-1170187.js Loading commit data...
regress-1173979.js Loading commit data...
regress-1175390.js Loading commit data...
regress-1177518.js Loading commit data...
regress-1177809.js Loading commit data...
regress-1178598.js Loading commit data...
regress-1182832.js Loading commit data...
regress-1187524.js Loading commit data...
regress-1199401.js Loading commit data...
regress-1199637.js Loading commit data...
regress-1200351.js Loading commit data...
regress-1201933.js Loading commit data...
regress-1203459.js Loading commit data...
regress-1207276.js Loading commit data...
regress-1213516.js Loading commit data...
regress-1213575.js Loading commit data...
regress-1215653.js Loading commit data...
regress-124.js Loading commit data...
regress-1254366.js Loading commit data...
regress-1327557.js Loading commit data...
regress-1341167.js Loading commit data...
regress-1346700.js Loading commit data...
regress-137.js Loading commit data...
regress-1439135.js Loading commit data...
regress-149.js Loading commit data...
regress-1493017.js Loading commit data...
regress-171.js Loading commit data...
regress-176.js Loading commit data...
regress-186.js Loading commit data...
regress-187.js Loading commit data...
regress-189.js Loading commit data...
regress-191.js Loading commit data...
regress-192.js Loading commit data...
regress-193.js Loading commit data...
regress-20070207.js Loading commit data...
regress-201.js Loading commit data...
regress-219.js Loading commit data...
regress-220.js Loading commit data...
regress-221.js Loading commit data...
regress-225.js Loading commit data...
regress-227.js Loading commit data...
regress-231.js Loading commit data...
regress-233.js Loading commit data...
regress-244.js Loading commit data...
regress-246.js Loading commit data...
regress-253.js Loading commit data...
regress-254.js Loading commit data...
regress-259.js Loading commit data...
regress-260.js Loading commit data...
regress-263.js Loading commit data...
regress-265.js Loading commit data...
regress-267.js Loading commit data...
regress-269.js Loading commit data...
regress-279.js Loading commit data...
regress-284.js Loading commit data...
regress-286.js Loading commit data...
regress-294.js Loading commit data...
regress-35.js Loading commit data...
regress-57.js Loading commit data...
regress-588599.js Loading commit data...
regress-662254.js Loading commit data...
regress-666721.js Loading commit data...
regress-667061.js Loading commit data...
regress-670147.js Loading commit data...
regress-674753.js Loading commit data...
regress-676025.js Loading commit data...
regress-678525.js Loading commit data...
regress-682649.js Loading commit data...
regress-69.js Loading commit data...
regress-734862.js Loading commit data...
regress-737588.js Loading commit data...
regress-74.js Loading commit data...
regress-780423.js Loading commit data...
regress-799761.js Loading commit data...
regress-806473.js Loading commit data...
regress-842017.js Loading commit data...
regress-86.js Loading commit data...
regress-87.js Loading commit data...
regress-874178.js Loading commit data...
regress-875031.js Loading commit data...
regress-877615.js Loading commit data...
regress-892742.js Loading commit data...
regress-900055.js Loading commit data...
regress-900966.js Loading commit data...
regress-91.js Loading commit data...
regress-925537.js Loading commit data...
regress-937896.js Loading commit data...
regress-990205.js Loading commit data...
regress-992733.js Loading commit data...
regress-996542.js Loading commit data...
regress-998565.js Loading commit data...