Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1375)

Unified Diff: src/v8natives.js

Issue 1297803003: Revert of Remove property loads from js builtins objects from runtime. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/messages.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/v8natives.js
diff --git a/src/v8natives.js b/src/v8natives.js
index 9d37e7cf6da21d2a2fed9c0b5988cb7518dd46d4..a492547367a6b84b64549d2b4ab890561547803a 100644
--- a/src/v8natives.js
+++ b/src/v8natives.js
@@ -3,6 +3,8 @@
// found in the LICENSE file.
var $functionSourceString;
+var $objectDefineOwnProperty;
+var $objectGetOwnPropertyDescriptor;
(function(global, utils) {
@@ -1783,6 +1785,8 @@
// Exports
$functionSourceString = FunctionSourceString;
+$objectDefineOwnProperty = DefineOwnPropertyFromAPI;
+$objectGetOwnPropertyDescriptor = ObjectGetOwnPropertyDescriptor;
utils.ObjectDefineProperties = ObjectDefineProperties;
utils.ObjectDefineProperty = ObjectDefineProperty;
@@ -1808,8 +1812,6 @@
utils.ExportToRuntime(function(to) {
to.GlobalEval = GlobalEval;
- to.ObjectDefineOwnProperty = DefineOwnPropertyFromAPI;
- to.ObjectGetOwnPropertyDescriptor = ObjectGetOwnPropertyDescriptor;
to.ToCompletePropertyDescriptor = ToCompletePropertyDescriptor;
});
« no previous file with comments | « src/messages.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698