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

Unified Diff: src/array-iterator.js

Issue 1306993003: Call JS functions via native context instead of js builtins object. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebase 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 | « no previous file | src/assembler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/array-iterator.js
diff --git a/src/array-iterator.js b/src/array-iterator.js
index df74aa85c40adf5a89472e0c2e93a3e2f7935693..67f1eeff9ed4eca712dec66247eb821d76d75f39 100644
--- a/src/array-iterator.js
+++ b/src/array-iterator.js
@@ -170,8 +170,6 @@ utils.Export(function(to) {
$arrayValues = ArrayValues;
-utils.ExportToRuntime(function(to) {
- to["array_values_iterator"] = ArrayValues;
-});
+%InstallToContext(["array_values_iterator", ArrayValues]);
})
« no previous file with comments | « no previous file | src/assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698