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

Unified Diff: src/runtime.js

Issue 1304363012: [runtime] Remove unused TO_NUMBER and TO_STRING functions. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/runtime.js
diff --git a/src/runtime.js b/src/runtime.js
index 231e83283c04d02f28f74e4ce6202a09ece40bc0..8063a790e131f9c169b15bab728dfa7462c29a71 100644
--- a/src/runtime.js
+++ b/src/runtime.js
@@ -605,18 +605,6 @@ function STACK_OVERFLOW(length) {
}
-// Convert the receiver to a number - forward to ToNumber.
-function TO_NUMBER() {
- return %to_number_fun(this);
-}
-
-
-// Convert the receiver to a string - forward to ToString.
-function TO_STRING() {
- return %to_string_fun(this);
-}
-
-
/* -------------------------------------
- - - C o n v e r s i o n s - - -
-------------------------------------
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698