|
[wasm] Adding feature to JIT a wasm function at runtime and hook up the compiled code into the indirect function table
The runtime JIT function is passed in the function table to hook up the compiled code and the starting address of the memory to locate the bytes to be compiled.
BUG= 5044
Committed: https://crrev.com/de33e4bad271ec2f5cbfc0b040b15465b0a2d778
Cr-Commit-Position: refs/heads/master@{#37735}
Total comments: 39
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+346 lines, -8 lines) |
Patch |
|
M |
src/compiler/wasm-compiler.h
|
View
|
1
2
3
4
5
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/compiler/wasm-compiler.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+98 lines, -0 lines |
2 comments
|
Download
|
|
M |
src/messages.h
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -1 line |
2 comments
|
Download
|
|
M |
src/runtime/runtime.h
|
View
|
1
2
3
4
5
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime-utils.h
|
View
|
1
2
3
4
5
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime-wasm.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+81 lines, -1 line |
2 comments
|
Download
|
|
M |
src/wasm/ast-decoder.h
|
View
|
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/wasm/ast-decoder.cc
|
View
|
1
2
3
4
5
|
5 chunks |
+45 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/wasm/wasm-module.h
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/wasm/wasm-module.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/wasm/wasm-opcodes.h
|
View
|
1
2
3
4
5
|
3 chunks |
+7 lines, -2 lines |
0 comments
|
Download
|
|
A |
test/mjsunit/wasm/jit-single-function.js
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+79 lines, -0 lines |
2 comments
|
Download
|
|
M |
test/mjsunit/wasm/wasm-constants.js
|
View
|
1
2
3
4
5
|
3 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
Total messages: 27 (12 generated)
|