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

Unified Diff: src/symbol.js

Issue 1123353004: Revert of Wrap runtime.js in a function. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 7 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/string-iterator.js ('k') | src/typedarray.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/symbol.js
diff --git a/src/symbol.js b/src/symbol.js
index 810501352817e1ad758e1c78b44fe4efff4ac0b4..72aa4d632416f0873db1637cd2a88f3482dd5a72 100644
--- a/src/symbol.js
+++ b/src/symbol.js
@@ -26,7 +26,7 @@
function SymbolConstructor(x) {
if (%_IsConstructCall()) throw MakeTypeError(kNotConstructor, "Symbol");
// NOTE: Passing in a Symbol value will throw on ToString().
- return %CreateSymbol(IS_UNDEFINED(x) ? x : $toString(x));
+ return %CreateSymbol(IS_UNDEFINED(x) ? x : ToString(x));
}
@@ -69,7 +69,7 @@
// ES6 19.1.2.8
function ObjectGetOwnPropertySymbols(obj) {
- obj = $toObject(obj);
+ obj = ToObject(obj);
// TODO(arv): Proxies use a shared trap for String and Symbol keys.
« no previous file with comments | « src/string-iterator.js ('k') | src/typedarray.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698