|
[builtins] Migrate a bunch of Object builtins to C++.
The Object.freeze, Object.isExtensible, Object.isFrozen,
Object.isSealed, Object.preventExtensions and Object.seal builtins were
already implemented in C++, but they still had some funny JavaScript
wrappers that just called into the C++ implementation on every
(interesting) execution path.
Committed: https://crrev.com/70c4bf13315145be89e9f8b7f4313fab2442dcda
Cr-Commit-Position: refs/heads/master@{#33074}
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+144 lines, -155 lines) |
Patch |
|
M |
src/bootstrapper.cc
|
View
|
|
2 chunks |
+37 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/builtins.h
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/builtins.cc
|
View
|
|
1 chunk |
+78 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/contexts.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/js/array.js
|
View
|
|
6 chunks |
+5 lines, -9 lines |
0 comments
|
Download
|
|
M |
src/js/object-observe.js
|
View
|
|
6 chunks |
+6 lines, -10 lines |
0 comments
|
Download
|
|
M |
src/js/prologue.js
|
View
|
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
src/js/templates.js
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/js/v8natives.js
|
View
|
|
4 chunks |
+1 line, -52 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime.h
|
View
|
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime-object.cc
|
View
|
|
2 chunks |
+0 lines, -66 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/regress/regress-crbug-405517.js
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
test/mjsunit/regress/regress-crbug-412319.js
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 8 (3 generated)
|