DescriptionFix typeof optimization for undetectable
Currently, typeof o, where o is an undetectable
callable object (such as document.all), returns 'function' if
optimised. It should, however, return 'undefined'.
This CL excludes undetectable objects from the optimization
resulting in type 'function' and renames the related code to
reflect that.
BUG=v8:5972
R=bmeurer@chromium.org
Review-Url: https://codereview.chromium.org/2697063002
Cr-Commit-Position: refs/heads/master@{#43298}
Committed: https://chromium.googlesource.com/v8/v8/+/6302753e2fb224156d0ca407fd4922653e98652b
Patch Set 1 #Patch Set 2 : Add clean-up #Patch Set 3 : Use Benedikt's test and introduce TypeOfIsFunction #Patch Set 4 : Add TypeOfIsFunction to EscapeStatusAnalysis #
Total comments: 4
Patch Set 5 : Change typing rule (TODO: rename) #Patch Set 6 : Change typing rule (TODO: rename) #Patch Set 7 : DetectableCallable TODO: renaming #
Total comments: 2
Patch Set 8 : Rename + format fix #
Messages
Total messages: 41 (31 generated)
|