Commit 100da0a7 authored by bmeurer's avatar bmeurer Committed by Commit bot

[runtime] Remove unused %NumberUnaryMinus runtime function.

This has been dead code for quite a while now.

R=mstarzinger@chromium.org

Review URL: https://codereview.chromium.org/1314353006

Cr-Commit-Position: refs/heads/master@{#30652}
parent c505907d
......@@ -250,15 +250,6 @@ RUNTIME_FUNCTION(Runtime_NumberMul) {
}
RUNTIME_FUNCTION(Runtime_NumberUnaryMinus) {
HandleScope scope(isolate);
DCHECK(args.length() == 1);
CONVERT_DOUBLE_ARG_CHECKED(x, 0);
return *isolate->factory()->NewNumber(-x);
}
RUNTIME_FUNCTION(Runtime_NumberDiv) {
HandleScope scope(isolate);
DCHECK(args.length() == 2);
......
......@@ -408,7 +408,6 @@ namespace internal {
F(NumberAdd, 2, 1) \
F(NumberSub, 2, 1) \
F(NumberMul, 2, 1) \
F(NumberUnaryMinus, 1, 1) \
F(NumberDiv, 2, 1) \
F(NumberMod, 2, 1) \
F(NumberImul, 2, 1) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment