|
[Interpreter] Add ForInPrepare runtime function which returns a ObjectTriple.
Adds a ForInPrepare Runtime function which returns a triple of
cache_type, cache_array and cache_length.
This requires adding support to CEntryStub to call runtime functions
which return a ObjectTriple - a struct containing three Object*
pointers. Also did some cleanup of the x64 CEntryStub to avoid
replicated code.
Replaces the interpreter's use of the ad-hock InterpreterForInPrepare
Runtime function with ForInPrepare in preparation for fixing deopt in
BytecodeGraphBuilder for ForIn (which will be done in a followup CL).
MIPS port contributed by Balazs Kilvady < balazs.kilvady@imgtec.com>.
BUG= v8:4280
LOG=N
Committed: https://crrev.com/84f8a506e204b1e70df5b9a8036cc97170e661fd
Cr-Commit-Position: refs/heads/master@{#33334}
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+446 lines, -169 lines) |
Patch |
|
M |
src/arguments.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/arm/code-stubs-arm.cc
|
View
|
1
2
3
4
|
4 chunks |
+33 lines, -10 lines |
0 comments
|
Download
|
|
M |
src/arm/macro-assembler-arm.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/arm/simulator-arm.cc
|
View
|
1
2
|
3 chunks |
+31 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/arm64/code-stubs-arm64.cc
|
View
|
1
2
3
4
|
3 chunks |
+23 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/arm64/macro-assembler-arm64.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/arm64/simulator-arm64.cc
|
View
|
1
2
3
4
|
5 chunks |
+40 lines, -11 lines |
0 comments
|
Download
|
|
M |
src/assembler.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+6 lines, -1 line |
0 comments
|
Download
|
|
M |
src/assembler.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/code-stubs.h
|
View
|
|
2 chunks |
+1 line, -5 lines |
0 comments
|
Download
|
|
M |
src/compiler/linkage.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/ia32/code-stubs-ia32.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+36 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/ia32/macro-assembler-ia32.h
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/ia32/macro-assembler-ia32.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/interpreter/interpreter.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+6 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/mips/code-stubs-mips.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+39 lines, -11 lines |
0 comments
|
Download
|
|
M |
src/mips/macro-assembler-mips.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/mips/simulator-mips.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+25 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/mips64/code-stubs-mips64.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+39 lines, -10 lines |
0 comments
|
Download
|
|
M |
src/mips64/macro-assembler-mips64.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/mips64/simulator-mips64.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+25 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime.h
|
View
|
1
2
3
4
5
|
3 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime.cc
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime-forin.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+46 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime-interpreter.cc
|
View
|
|
1 chunk |
+0 lines, -51 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime-utils.h
|
View
|
1
|
1 chunk |
+16 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/x64/code-stubs-x64.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+47 lines, -40 lines |
0 comments
|
Download
|
|
M |
src/x64/macro-assembler-x64.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Depends on Patchset:
Dependent Patchsets:
Total messages: 40 (16 generated)
|