Revision: 16038
Author: [email protected]
Date: Mon Aug 5 00:00:38 2013
Log: Remove unused UNARY_MINUS builtin.
[email protected]
Review URL: https://codereview.chromium.org/22146002
http://code.google.com/p/v8/source/detail?r=16038
Modified:
/branches/bleeding_edge/src/builtins.h
/branches/bleeding_edge/src/runtime.js
=======================================
--- /branches/bleeding_edge/src/builtins.h Mon Jul 29 02:12:16 2013
+++ /branches/bleeding_edge/src/builtins.h Mon Aug 5 00:00:38 2013
@@ -259,7 +259,6 @@
V(BIT_OR, 1) \
V(BIT_AND, 1) \
V(BIT_XOR, 1) \
- V(UNARY_MINUS, 0) \
V(BIT_NOT, 0) \
V(SHL, 1) \
V(SAR, 1) \
=======================================
--- /branches/bleeding_edge/src/runtime.js Fri Jul 5 01:34:31 2013
+++ /branches/bleeding_edge/src/runtime.js Mon Aug 5 00:00:38 2013
@@ -292,13 +292,6 @@
if (!IS_NUMBER(y)) y = %NonNumberToNumber(y);
return %NumberXor(x, 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.
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.