|
[proxy] fixing for-in for proxies, fixing harmony/proxy.js tests, improving error messages and some drive-by fixes
- Enable old proxy tests. Many tests had to be updated. Proxies are instantiated differently and there is no distinction between normal proxies and callable function proxies anymore. Most additional changes are related to the getOwnPropertyDescriptor trap which is not accessed as often anymore for new proxies.
- For-in still used the old-style proxy semantics which skip the [[Has]] check for each loop-iteration. This CL uses the slower but correct runtime fallback for proxies.
BUG= v8:1543
LOG=n
patch from issue 1519473002 at patchset 1 ( http://crrev.com/1519473002#ps1)
Committed: https://crrev.com/df2a92972b0a087080e67496177e879e9409d5b0
Cr-Commit-Position: refs/heads/master@{#32801}
Total comments: 15
Total comments: 2
Total comments: 1
Total comments: 2
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+597 lines, -1450 lines) |
Patch |
|
M |
src/builtins.cc
|
View
|
1
2
|
1 chunk |
+12 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/compiler/js-generic-lowering.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -23 lines |
0 comments
|
Download
|
|
M |
src/compiler/js-typed-lowering.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -12 lines |
0 comments
|
Download
|
|
M |
src/full-codegen/arm/full-codegen-arm.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+1 line, -14 lines |
0 comments
|
Download
|
|
M |
src/full-codegen/arm64/full-codegen-arm64.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+1 line, -12 lines |
0 comments
|
Download
|
|
M |
src/full-codegen/ia32/full-codegen-ia32.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+1 line, -16 lines |
0 comments
|
Download
|
|
M |
src/full-codegen/mips/full-codegen-mips.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+1 line, -13 lines |
0 comments
|
Download
|
|
M |
src/full-codegen/mips64/full-codegen-mips64.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+1 line, -13 lines |
0 comments
|
Download
|
|
M |
src/full-codegen/ppc/full-codegen-ppc.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+1 line, -14 lines |
0 comments
|
Download
|
|
M |
src/full-codegen/x64/full-codegen-x64.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+1 line, -13 lines |
0 comments
|
Download
|
|
M |
src/full-codegen/x87/full-codegen-x87.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+1 line, -16 lines |
0 comments
|
Download
|
|
M |
src/ia32/code-stubs-ia32.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+18 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/isolate.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+24 lines, -1 line |
0 comments
|
Download
|
|
M |
src/js/proxy.js
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/js/v8natives.js
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/messages.h
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+10 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/objects.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
10 chunks |
+23 lines, -16 lines |
0 comments
|
Download
|
|
M |
src/prototype.h
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+16 lines, -0 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/es6/regress/regress-cr493566.js
|
View
|
1
2
3
4
5
|
3 chunks |
+43 lines, -19 lines |
0 comments
|
Download
|
|
D |
test/mjsunit/for-in-opt.js
|
View
|
1
2
3
|
6 chunks |
+15 lines, -7 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/harmony/debug-stepin-proxies.js
|
View
|
1
2
3
4
|
1 chunk |
+5 lines, -1 line |
0 comments
|
Download
|
|
M |
test/mjsunit/harmony/proxies.js
|
View
|
1
2
3
4
5
6
7
8
|
36 chunks |
+250 lines, -1021 lines |
0 comments
|
Download
|
|
A |
test/mjsunit/harmony/proxies-cross-realm-ecxeption.js
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+19 lines, -0 lines |
1 comment
|
Download
|
|
M |
test/mjsunit/harmony/proxies-enumerate.js
|
View
|
1
2
3
4
5
6
|
1 chunk |
+35 lines, -0 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/harmony/proxies-for.js
|
View
|
1
2
3
|
2 chunks |
+8 lines, -7 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/harmony/proxies-get-prototype-of.js
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/harmony/proxies-with.js
|
View
|
1
2
3
4
|
6 chunks |
+64 lines, -164 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/harmony/regress/regress-2219.js
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
test/mjsunit/harmony/regress/regress-2225.js
|
View
|
1
2
3
4
|
2 chunks |
+24 lines, -13 lines |
0 comments
|
Download
|
|
D |
test/mjsunit/harmony/regress/regress-405844.js
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -13 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/harmony/regress/regress-crbug-461520.js
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
test/mjsunit/harmony/regress/regress-lookup-transition.js
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
test/mjsunit/mjsunit.status
|
View
|
1
2
3
4
|
2 chunks |
+0 lines, -16 lines |
0 comments
|
Download
|
|
D |
test/mjsunit/regress/regress-crbug-493568.js
|
View
|
|
1 chunk |
+0 lines, -12 lines |
0 comments
|
Download
|
Depends on Patchset:
Total messages: 47 (19 generated)
|