|
|
Extend assembler with ability to produce comments for the generated code.
Extend x64 disassembler with ability to decode and output recorded comments.
Example output (currently comments are emitted only by flow graph compiler at block/instruction boundaries, once instruction printing is refactored and supports printing into buffer simple "instruction" comment will be replaced with the actual IL construct):
;; B0
;; B1
;; instruction
0x007f0fff812525 00000055 49 bb 21 00 b4 04 10 mov $0x7f1004b40021,%r11
0x007f0fff81252c 0000005c 7f 00 00
0x007f0fff81252f 0000005f 41 53 push %r11
R=srdjan@google.com
Committed: https://code.google.com/p/dart/source/detail?r=7723
Total comments: 44
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+260 lines, -8 lines) |
Patch |
 |
M |
runtime/vm/assembler_ia32.h
|
View
|
1
|
2 chunks |
+21 lines, -1 line |
0 comments
|
Download
|
 |
M |
runtime/vm/assembler_ia32.cc
|
View
|
1
|
2 chunks |
+23 lines, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/assembler_x64.h
|
View
|
1
|
3 chunks |
+21 lines, -1 line |
0 comments
|
Download
|
 |
M |
runtime/vm/assembler_x64.cc
|
View
|
1
|
2 chunks |
+30 lines, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/code_generator_ia32.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/code_generator_ia32.cc
|
View
|
1
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/code_generator_x64.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/compiler.cc
|
View
|
|
4 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
runtime/vm/disassembler.h
|
View
|
1
|
2 chunks |
+17 lines, -1 line |
0 comments
|
Download
|
 |
M |
runtime/vm/disassembler_ia32.cc
|
View
|
1
|
1 chunk |
+3 lines, -1 line |
1 comment
|
Download
|
 |
M |
runtime/vm/disassembler_x64.cc
|
View
|
1
|
2 chunks |
+19 lines, -2 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_compiler_arm.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_compiler_arm.cc
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_compiler_ia32.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_compiler_ia32.cc
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_compiler_x64.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_compiler_x64.cc
|
View
|
1
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/object.h
|
View
|
1
|
1 chunk |
+33 lines, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/object.cc
|
View
|
1
|
1 chunk |
+56 lines, -0 lines |
1 comment
|
Download
|
 |
M |
runtime/vm/raw_object.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
Total messages: 6 (0 generated)
|