Index: src/harmony-atomics.js |
diff --git a/src/harmony-atomics.js b/src/harmony-atomics.js |
index d4e069641a26436a5767af80ee544147e993be92..fae942064f60bd77bade84bffcecbac8ff26417a 100644 |
--- a/src/harmony-atomics.js |
+++ b/src/harmony-atomics.js |
@@ -14,6 +14,7 @@ |
var GlobalObject = global.Object; |
var MathMax; |
var ToNumber; |
+var toStringTagSymbol = utils.ImportNow("to_string_tag_symbol"); |
utils.Import(function(from) { |
MathMax = from.MathMax; |
@@ -192,7 +193,7 @@ var Atomics = new AtomicsConstructor(); |
%AddNamedProperty(global, "Atomics", Atomics, DONT_ENUM); |
%FunctionSetInstanceClassName(AtomicsConstructor, 'Atomics'); |
-%AddNamedProperty(Atomics, symbolToStringTag, "Atomics", READ_ONLY | DONT_ENUM); |
+%AddNamedProperty(Atomics, toStringTagSymbol, "Atomics", READ_ONLY | DONT_ENUM); |
// These must match the values in src/futex-emulation.h |
utils.InstallConstants(Atomics, [ |