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

Unified Diff: src/runtime.js

Issue 22146002: Remove unused UNARY_MINUS builtin. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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/builtins.h ('k') | 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 90fb36b42231c810cf0e74b7684a65f71dbe4e96..f1b4585d3bbd111ccd4ef777dc96ae7b0f8bc21b 100644
--- a/src/runtime.js
+++ b/src/runtime.js
@@ -294,13 +294,6 @@ function BIT_XOR(y) {
}
-// ECMA-262, section 11.4.7, page 47.
-function UNARY_MINUS() {
- var x = IS_NUMBER(this) ? this : %NonNumberToNumber(this);
- return %NumberUnaryMinus(x);
-}
-
-
// ECMA-262, section 11.4.8, page 48.
function BIT_NOT() {
var x = IS_NUMBER(this) ? this : %NonNumberToNumber(this);
« no previous file with comments | « src/builtins.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698