|
Add interceptor support for symbols
ObjectTemplate::SetGenericNamedPropertyHandler is a new version of
ObjectTemplate::SetNamedPropertyHandler that can intercept any Name
property access, not just access to String properties. Eventually we
will deprecate and remove ObjectTemplate::SetNamedPropertyHandler, then
rename ObjectTemplate::SetGenericNamedPropertyHandler back to
ObjectTemplate::SetNamedPropertyHandler.
R=dcarney@chromium.org, rossberg@chromium.org
BUG= v8:3394
LOG=Y
Total comments: 7
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+434 lines, -162 lines) |
Patch |
|
M |
include/v8.h
|
View
|
1
2
|
3 chunks |
+59 lines, -0 lines |
0 comments
|
Download
|
|
M |
samples/process.cc
|
View
|
1
|
3 chunks |
+10 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/api.cc
|
View
|
1
2
|
4 chunks |
+41 lines, -10 lines |
0 comments
|
Download
|
|
M |
src/arguments.h
|
View
|
|
2 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/elements.h
|
View
|
1
2
|
1 chunk |
+5 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/elements.cc
|
View
|
1
2
|
3 chunks |
+10 lines, -1 line |
0 comments
|
Download
|
|
M |
src/ic/ic.cc
|
View
|
1
2
|
1 chunk |
+4 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/objects.h
|
View
|
1
2
|
3 chunks |
+14 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/objects.cc
|
View
|
1
2
|
10 chunks |
+46 lines, -44 lines |
0 comments
|
Download
|
|
M |
src/objects-debug.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/objects-inl.h
|
View
|
1
2
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-accessors.cc
|
View
|
1
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
test/cctest/test-api.cc
|
View
|
1
2
|
54 chunks |
+216 lines, -66 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-debug.cc
|
View
|
1
2
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-decls.cc
|
View
|
1
|
6 chunks |
+12 lines, -12 lines |
0 comments
|
Download
|
Total messages: 20 (0 generated)
|