Description[es6] Support super.property in eval and arrow functions
When we enter a method that needs access to the [[HomeObject]]
we allocate a local variable `.home_object` and assign it the
value from the [[HomeObject]] private symbol. Something along
the lines of:
method() {
var .home_object = %ThisFunction()[home_object_symbol];
...
}
BUG=v8:3867, v8:4031
LOG=N
Committed: https://crrev.com/44e9810345cea9bfd6861905bc6856db7db5a25c
Cr-Commit-Position: refs/heads/master@{#28644}
Patch Set 1 #Patch Set 2 : Try feedback slot #
Total comments: 1
Patch Set 3 : i have no idea #
Total comments: 1
Patch Set 4 : Update tests #Patch Set 5 : cleanup #Patch Set 6 : All ports done #
Total comments: 3
Patch Set 7 : rebase #
Total comments: 3
Patch Set 8 : release mode works #Patch Set 9 : Fix bailout id none assertion #Patch Set 10 : cleanup #
Total comments: 2
Patch Set 11 : TF should stack overflow since it does not support super.prop #Patch Set 12 : git rebase #
Total comments: 5
Patch Set 13 : Code review cleanup #
Created: 5 years, 7 months ago
Messages
Total messages: 50 (11 generated)
|