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

Unified Diff: src/d8.js

Issue 1845833002: [d8] remove utility context. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 9 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/d8.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/d8.js
diff --git a/src/d8.js b/src/d8.js
index 27a0bc39cd07107cb03fa65f0c12534aed45573a..e49c6b74580637c6da18b26d72d4fd34ea8f59cf 100644
--- a/src/d8.js
+++ b/src/d8.js
@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+(function() {
"use strict";
// A more universal stringify that supports more types than JSON.
@@ -89,3 +90,6 @@ function StringifyProxy(proxy, depth) {
}
return '[' + proxy_type + ' Proxy ' + Stringify(info_object, depth-1) + ']';
}
+
+return Stringify;
+})();
« no previous file with comments | « src/d8.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698