|
[Interpreter] Add CallRuntime support to the interpreter.
Adds support for calling runtime functions from the interpreter. Adds the
CallRuntime bytecode which takes a Runtime::FunctionId of the function to call
and the arguments in sequential registers. Adds a InterpreterCEntry builtin
to enable the interpreter to enter C++ code based on the functionId.
Also renames Builtin::PushArgsAndCall to Builtin::InterpreterPushArgsAndCall
and groups all the interpreter builtins together.
BUG= v8:4280
LOG=N
Committed: https://crrev.com/75f6ad74b2c0fe2e5dec7110d076d892cfbb6b69
Cr-Commit-Position: refs/heads/master@{#31089}
Total comments: 6
Total comments: 23
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+824 lines, -328 lines) |
Patch |
|
M |
src/arm/builtins-arm.cc
|
View
|
1
|
2 chunks |
+29 lines, -29 lines |
0 comments
|
Download
|
|
M |
src/arm/code-stubs-arm.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+20 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/arm/interface-descriptors-arm.cc
|
View
|
1
2
3
|
1 chunk |
+13 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/arm64/builtins-arm64.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/arm64/code-stubs-arm64.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+11 lines, -9 lines |
0 comments
|
Download
|
|
M |
src/arm64/interface-descriptors-arm64.cc
|
View
|
1
2
3
|
1 chunk |
+14 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/assembler.h
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/assembler.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/bailout-reason.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/builtins.h
|
View
|
1
2
3
|
5 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/code-factory.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/code-factory.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+13 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/code-stubs.h
|
View
|
1
2
|
3 chunks |
+7 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/compiler/bytecode-graph-builder.cc
|
View
|
1
2
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/compiler/interpreter-assembler.h
|
View
|
1
2
3
4
5
6
|
3 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/compiler/interpreter-assembler.cc
|
View
|
1
2
3
4
5
6
7
|
5 chunks |
+62 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/ia32/builtins-ia32.cc
|
View
|
1
|
2 chunks |
+35 lines, -35 lines |
0 comments
|
Download
|
|
M |
src/ia32/code-stubs-ia32.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+14 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/ia32/interface-descriptors-ia32.cc
|
View
|
1
|
1 chunk |
+13 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/ia32/macro-assembler-ia32.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/ia32/macro-assembler-ia32.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+13 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/interface-descriptors.h
|
View
|
1
2
|
3 chunks |
+13 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/interpreter/bytecode-array-builder.h
|
View
|
1
2
3
4
|
3 chunks |
+12 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/interpreter/bytecode-array-builder.cc
|
View
|
1
2
3
4
5
6
7
8
|
12 chunks |
+27 lines, -11 lines |
0 comments
|
Download
|
|
M |
src/interpreter/bytecode-array-iterator.h
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/interpreter/bytecode-array-iterator.cc
|
View
|
1
2
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/interpreter/bytecode-generator.cc
|
View
|
1
2
3
|
1 chunk |
+24 lines, -1 line |
0 comments
|
Download
|
|
M |
src/interpreter/bytecodes.h
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/interpreter/interpreter.cc
|
View
|
1
2
|
2 chunks |
+18 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/mips/builtins-mips.cc
|
View
|
1
|
2 chunks |
+29 lines, -29 lines |
0 comments
|
Download
|
|
M |
src/mips/code-stubs-mips.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+21 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/mips/interface-descriptors-mips.cc
|
View
|
1
2
3
|
1 chunk |
+13 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/mips64/builtins-mips64.cc
|
View
|
1
|
2 chunks |
+29 lines, -29 lines |
0 comments
|
Download
|
|
M |
src/mips64/code-stubs-mips64.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+21 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/mips64/interface-descriptors-mips64.cc
|
View
|
1
2
3
|
1 chunk |
+13 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime.h
|
View
|
1
2
3
|
3 chunks |
+35 lines, -21 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime.cc
|
View
|
1
2
3
|
2 chunks |
+26 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/snapshot/serialize.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/x64/builtins-x64.cc
|
View
|
1
|
2 chunks |
+35 lines, -35 lines |
0 comments
|
Download
|
|
M |
src/x64/code-stubs-x64.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+12 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/x64/interface-descriptors-x64.cc
|
View
|
1
|
1 chunk |
+13 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/x64/macro-assembler-x64.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/x64/macro-assembler-x64.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+14 lines, -8 lines |
0 comments
|
Download
|
|
M |
test/cctest/interpreter/test-bytecode-generator.cc
|
View
|
1
2
|
4 chunks |
+115 lines, -40 lines |
0 comments
|
Download
|
|
M |
test/cctest/interpreter/test-interpreter.cc
|
View
|
1
2
|
1 chunk |
+22 lines, -0 lines |
0 comments
|
Download
|
|
M |
test/unittests/compiler/interpreter-assembler-unittest.cc
|
View
|
1
2
|
3 chunks |
+29 lines, -2 lines |
0 comments
|
Download
|
|
M |
test/unittests/interpreter/bytecode-array-builder-unittest.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
test/unittests/interpreter/bytecode-array-iterator-unittest.cc
|
View
|
1
2
|
3 chunks |
+9 lines, -3 lines |
0 comments
|
Download
|
Total messages: 73 (31 generated)
|