Index: src/js/symbol.js |
diff --git a/src/js/symbol.js b/src/js/symbol.js |
index 5e79962034177c253210d6a6006e84fde184cf61..4a565cc5fd5408a0578b9b3820ced85d390884b7 100644 |
--- a/src/js/symbol.js |
+++ b/src/js/symbol.js |
@@ -19,7 +19,11 @@ var isConcatSpreadableSymbol = |
var isRegExpSymbol = utils.ImportNow("is_regexp_symbol"); |
var iteratorSymbol = utils.ImportNow("iterator_symbol"); |
var MakeTypeError; |
+var matchSymbol = utils.ImportNow("match_symbol"); |
var ObjectGetOwnPropertyKeys; |
+var replaceSymbol = utils.ImportNow("replace_symbol"); |
+var searchSymbol = utils.ImportNow("search_symbol"); |
+var splitSymbol = utils.ImportNow("split_symbol"); |
var toPrimitiveSymbol = utils.ImportNow("to_primitive_symbol"); |
var toStringTagSymbol = utils.ImportNow("to_string_tag_symbol"); |
var unscopablesSymbol = utils.ImportNow("unscopables_symbol"); |
@@ -96,6 +100,11 @@ utils.InstallConstants(GlobalSymbol, [ |
// "isConcatSpreadable", isConcatSpreadableSymbol, |
// "isRegExp", isRegExpSymbol, |
"iterator", iteratorSymbol, |
+ // TODO(yangguo): expose when implemented. |
+ // "match", matchSymbol, |
+ // "replace", replaceSymbol, |
+ // "search", searchSymbol, |
+ // "split, splitSymbol, |
"toPrimitive", toPrimitiveSymbol, |
// TODO(dslomov, caitp): Currently defined in harmony-tostring.js --- |
// Move here when shipping |