|
Allocate room for expected number of properties based on the
constructor in the JSObject. This removes the need to allocate
a properties array if the object is never assigned any extra
properties.
Committed: http://code.google.com/p/v8/source/detail?r=501
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+199 lines, -71 lines) |
Patch |
|
M |
src/bootstrapper.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/builtins-ia32.cc
|
View
|
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
|
M |
src/heap.cc
|
View
|
|
6 chunks |
+13 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/objects.h
|
View
|
|
4 chunks |
+21 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/objects.cc
|
View
|
|
12 chunks |
+13 lines, -21 lines |
0 comments
|
Download
|
|
M |
src/objects-debug.cc
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/objects-inl.h
|
View
|
|
3 chunks |
+55 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/runtime.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/string-stream.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/stub-cache-arm.cc
|
View
|
|
3 chunks |
+45 lines, -17 lines |
0 comments
|
Download
|
|
M |
src/stub-cache-ia32.cc
|
View
|
|
3 chunks |
+41 lines, -15 lines |
0 comments
|
Download
|
Total messages: 1 (0 generated)
|