v8/tools/sodium/index.html
danno@chromium.org 4c565138b5 Add tool to visualize machine code/lithium.
In the process:
- Add a command-line flag --opt-code-positions to track source position information throughout optimized code.
- Add a subclass of the hydrogen graph builder to ensure that the source position is properly set on the graph builder for all generated hydrogen code.
- Overhaul handling of source positions in hydrogen to ensure they are passed through to generated code consistently and in most cases transparently.

Originally reviewed in this CL: https://codereview.chromium.org/24957003/

Review URL: https://codereview.chromium.org/29123008

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17295 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-21 13:35:48 +00:00

37 lines
1.2 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>Sodium</title>
<meta charset="utf-8">
<link href="styles.css" rel="stylesheet" type="text/css">
</head>
<script src="https://google-code-prettify.googlecode.com/svn/loader/run_prettify.js"></script>
<script src="./sodium.js"></script>
<script type="text/javascript"></script>
<body>
<table style='top:5px; width:100%;'>
<tr><td id='table-header'>
<input type='file' id='log-file-id' />
<select id="kind-selector-id" onchange="Sodium.kindChangedHandler(this);"></select><br>
<select id="function-selector-id" onchange="Sodium.functionChangedHandler();"></select>
</td></tr>
<tr>
<table style='height:90%;'>
<tr>
<td id='asm-container'>
<div id='asm-text'></div>
</td>
<td id='source-container'>
<div id='source-text'><pre id='source-text-pre'/></div>
</td>
</tr>
</table>
</tr>
</table>
<script>
Sodium.buildFunctionKindSelector(document.getElementById('kind-selector-id'));
document.getElementById('log-file-id').addEventListener('change', Sodium.readLog, false);
</script>
</body>
</html>