|
|
asm.js type-checker.
Intended for performance analysis and comparison.
Operational but unpolished. Precise asm.js type annotations generated,
but currently cause 4x slowdown for code produced by Hydrogen on zlib
benchmark; investigation needed.
Relevant flags:
--asm (activate asm.js, currently true by default)
--trace-asm (trace asm typing)
--print-asm-env (output typed environments for every asm module and function)
BUG=
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1346 lines, -68 lines) |
Patch |
 |
M |
src/ast.h
|
View
|
1
2
|
5 chunks |
+9 lines, -4 lines |
0 comments
|
Download
|
 |
M |
src/ast.cc
|
View
|
1
2
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/compiler.h
|
View
|
1
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/compiler.cc
|
View
|
1
2
|
3 chunks |
+39 lines, -2 lines |
0 comments
|
Download
|
 |
M |
src/deoptimizer.cc
|
View
|
1
2
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/factory.cc
|
View
|
1
2
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/flag-definitions.h
|
View
|
1
2
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/globals.h
|
View
|
1
2
|
2 chunks |
+26 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/hydrogen.h
|
View
|
1
2
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
src/ia32/full-codegen-ia32.cc
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
src/ia32/lithium-codegen-ia32.cc
|
View
|
1
2
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/objects.h
|
View
|
1
2
|
6 chunks |
+16 lines, -2 lines |
0 comments
|
Download
|
 |
M |
src/objects-inl.h
|
View
|
1
2
|
4 chunks |
+27 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/parser.h
|
View
|
1
2
|
5 chunks |
+23 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/parser.cc
|
View
|
1
2
|
4 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/preparse-data.h
|
View
|
1
2
|
5 chunks |
+13 lines, -6 lines |
0 comments
|
Download
|
 |
M |
src/preparser.h
|
View
|
1
2
|
7 chunks |
+18 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/preparser.cc
|
View
|
1
2
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/scanner.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
src/scanner.cc
|
View
|
1
2
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/scopeinfo.cc
|
View
|
1
2
|
2 chunks |
+10 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/scopes.h
|
View
|
1
2
|
4 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/scopes.cc
|
View
|
1
2
3
|
4 chunks |
+12 lines, -1 line |
0 comments
|
Download
|
 |
A + |
src/typing-asm.h
|
View
|
|
1 chunk |
+50 lines, -16 lines |
0 comments
|
Download
|
 |
A |
src/typing-asm.cc
|
View
|
|
1 chunk |
+990 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/variables.h
|
View
|
1
2
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
test/mjsunit/harmony/asm.js
|
View
|
|
1 chunk |
+39 lines, -30 lines |
0 comments
|
Download
|
 |
M |
tools/gyp/v8.gyp
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|