|
[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}
Total comments: 1
Total comments: 1
Total comments: 3
Total comments: 3
Total comments: 2
Total comments: 5
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+438 lines, -318 lines) |
Patch |
|
M |
src/arm/full-codegen-arm.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
13 chunks |
+32 lines, -38 lines |
0 comments
|
Download
|
|
M |
src/arm64/full-codegen-arm64.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
13 chunks |
+32 lines, -40 lines |
0 comments
|
Download
|
|
M |
src/ast.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
6 chunks |
+36 lines, -25 lines |
0 comments
|
Download
|
|
M |
src/ast.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/ast-numbering.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/ast-value-factory.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/compiler/ast-graph-builder.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/full-codegen.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/ia32/full-codegen-ia32.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
13 chunks |
+32 lines, -38 lines |
0 comments
|
Download
|
|
M |
src/mips/full-codegen-mips.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
13 chunks |
+33 lines, -33 lines |
0 comments
|
Download
|
|
M |
src/mips64/full-codegen-mips64.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
13 chunks |
+33 lines, -33 lines |
0 comments
|
Download
|
|
M |
src/parser.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
src/parser.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+8 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/preparser.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
7 chunks |
+30 lines, -18 lines |
0 comments
|
Download
|
|
M |
src/preparser.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/scopes.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/scopes.cc
|
View
|
1
2
3
4
5
6
|
6 chunks |
+29 lines, -12 lines |
0 comments
|
Download
|
|
M |
src/x64/full-codegen-x64.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
13 chunks |
+33 lines, -38 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-compiler.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-feedback-vector.cc
|
View
|
1
2
3
4
5
6
|
5 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-heap.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
10 chunks |
+15 lines, -15 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-parsing.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
5 chunks |
+5 lines, -8 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/harmony/object-literals-super.js
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
2 chunks |
+40 lines, -1 line |
0 comments
|
Download
|
|
M |
test/mjsunit/harmony/super.js
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
3 chunks |
+44 lines, -1 line |
0 comments
|
Download
|
Total messages: 50 (11 generated)
|