|
[runtime] Move binary operator fallbacks into the runtime.
Replace the ADD, SUB, etc. builtins with proper runtime implementations,
and expose them as runtime calls that can be used by the code stubs and
the interpreter (for now).
Also remove all the support runtime functions for ADD, SUB and friends,
namely %NumberAdd, %NumberSub, and so on.
R=mstarzinger@chromium.org
CQ_INCLUDE_TRYBOTS=tryserver.v8:v8_linux_layout_dbg,v8_linux_nosnap_dbg
Committed: https://crrev.com/a1b2ec60b0d5ab1ee5ba5af362b22bc4b86ebcd6
Cr-Commit-Position: refs/heads/master@{#30680}
Total comments: 6
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+746 lines, -609 lines) |
Patch |
|
M |
BUILD.gn
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/accessors.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/api.cc
|
View
|
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/compiler/interpreter-assembler.h
|
View
|
1
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/compiler/interpreter-assembler.cc
|
View
|
1
|
1 chunk |
+4 lines, -30 lines |
0 comments
|
Download
|
|
M |
src/compiler/linkage.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
2 comments
|
Download
|
|
M |
src/compiler/linkage.cc
|
View
|
1
|
2 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/compiler/raw-machine-assembler.h
|
View
|
1
|
1 chunk |
+5 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/compiler/raw-machine-assembler.cc
|
View
|
1
|
1 chunk |
+23 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/contexts.h
|
View
|
|
1 chunk |
+18 lines, -40 lines |
0 comments
|
Download
|
|
M |
src/execution.cc
|
View
|
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/hydrogen.cc
|
View
|
|
2 chunks |
+51 lines, -4 lines |
1 comment
|
Download
|
|
M |
src/ic/ic.h
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/ic/ic.cc
|
View
|
|
2 chunks |
+60 lines, -63 lines |
0 comments
|
Download
|
|
M |
src/interpreter/interpreter.h
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/interpreter/interpreter.cc
|
View
|
|
6 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/json-stringifier.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/objects.h
|
View
|
|
2 chunks |
+42 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/objects.cc
|
View
|
|
3 chunks |
+200 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/runtime.js
|
View
|
|
3 chunks |
+0 lines, -254 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime.h
|
View
|
|
3 chunks |
+25 lines, -11 lines |
1 comment
|
Download
|
|
M |
src/runtime/runtime-i18n.cc
|
View
|
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime-numbers.cc
|
View
|
|
2 chunks |
+0 lines, -111 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime-object.cc
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
A |
src/runtime/runtime-operators.cc
|
View
|
|
1 chunk |
+277 lines, -0 lines |
0 comments
|
Download
|
|
M |
test/cctest/compiler/test-run-jscalls.cc
|
View
|
|
1 chunk |
+3 lines, -4 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/stack-traces-2.js
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
|
M |
test/unittests/compiler/interpreter-assembler-unittest.cc
|
View
|
1
|
1 chunk |
+7 lines, -25 lines |
0 comments
|
Download
|
|
M |
test/webkit/function-apply-aliased.js
|
View
|
|
1 chunk |
+0 lines, -13 lines |
0 comments
|
Download
|
|
M |
test/webkit/function-apply-aliased-expected.txt
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
tools/gyp/v8.gyp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 17 (3 generated)
|