|
Fix redefining of attributes on aliased arguments.
This allows elements of the non-strict arguments object to be redefined
with custom attributes and still maintain an alias into the context.
Such a slow alias is maintained by placing a special marker into the
dictionary backing store of the arguments object.
R=rossberg@chromium.org
BUG= v8:1772
TEST=test262,mjsunit/object-define-property
Committed: https://code.google.com/p/v8/source/detail?r=10827
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+138 lines, -40 lines) |
Patch |
|
M |
include/v8.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/elements.cc
|
View
|
|
1 chunk |
+14 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/heap.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/heap.cc
|
View
|
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/objects.h
|
View
|
1
|
3 chunks |
+36 lines, -1 line |
0 comments
|
Download
|
|
M |
src/objects.cc
|
View
|
|
2 chunks |
+38 lines, -20 lines |
0 comments
|
Download
|
|
M |
src/objects-debug.cc
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/objects-inl.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/objects-printer.cc
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/object-define-property.js
|
View
|
|
1 chunk |
+22 lines, -1 line |
0 comments
|
Download
|
|
M |
test/test262/test262.status
|
View
|
|
1 chunk |
+0 lines, -13 lines |
0 comments
|
Download
|
Total messages: 2 (0 generated)
|