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

Unified Diff: src/harmony-sharedarraybuffer.js

Issue 1318043002: Native context: do not put public symbols and flags on the js builtins object. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix and 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 | « src/harmony-reflect.js ('k') | src/harmony-simd.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/harmony-sharedarraybuffer.js
diff --git a/src/harmony-sharedarraybuffer.js b/src/harmony-sharedarraybuffer.js
index 4ebfaadb2a6f739361563150a6ffdf0cdc1dd5a2..3a72d6c353b1c8df75f96484152100e78d23e709 100644
--- a/src/harmony-sharedarraybuffer.js
+++ b/src/harmony-sharedarraybuffer.js
@@ -10,6 +10,7 @@
var GlobalSharedArrayBuffer = global.SharedArrayBuffer;
var GlobalObject = global.Object;
+var toStringTagSymbol = utils.ImportNow("to_string_tag_symbol");
// -------------------------------------------------------------------
@@ -44,7 +45,7 @@ function SharedArrayBufferIsViewJS(obj) {
GlobalSharedArrayBuffer, DONT_ENUM);
%AddNamedProperty(GlobalSharedArrayBuffer.prototype,
- symbolToStringTag, "SharedArrayBuffer", DONT_ENUM | READ_ONLY);
+ toStringTagSymbol, "SharedArrayBuffer", DONT_ENUM | READ_ONLY);
utils.InstallGetter(GlobalSharedArrayBuffer.prototype, "byteLength",
SharedArrayBufferGetByteLen);
« no previous file with comments | « src/harmony-reflect.js ('k') | src/harmony-simd.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698