diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-09-23 22:38:16 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-09-23 22:38:16 -0700 |
commit | 37d53a70958bfe5b1d7946229af9c12f0b865abc (patch) | |
tree | af209b4fed1411344ad5aa6ead0e168c718b54b5 /html/subx/028translate.cc.html | |
parent | 76cb753a49974f6bb5a836a52445adf97de4a7cc (diff) | |
download | mu-37d53a70958bfe5b1d7946229af9c12f0b865abc.tar.gz |
4512
Diffstat (limited to 'html/subx/028translate.cc.html')
-rw-r--r-- | html/subx/028translate.cc.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/html/subx/028translate.cc.html b/html/subx/028translate.cc.html index 1f60589f..857c1b77 100644 --- a/html/subx/028translate.cc.html +++ b/html/subx/028translate.cc.html @@ -89,7 +89,7 @@ if ('onhashchange' in window) { <span id="L29" class="LineNr"> 29 </span> <span class="Delimiter">}</span> <span id="L30" class="LineNr"> 30 </span> <a href='011run.cc.html#L132'>parse</a><span class="Delimiter">(</span>fin<span class="Delimiter">,</span> p<span class="Delimiter">);</span> <span id="L31" class="LineNr"> 31 </span> <span class="Normal">if</span> <span class="Delimiter">(</span><a href='003trace.cc.html#L217'>trace_contains_errors</a><span class="Delimiter">())</span> <span class="Identifier">return</span> <span class="Constant">1</span><span class="Delimiter">;</span> -<span id="L32" class="LineNr"> 32 </span> <a href='011run.cc.html#L196'>transform</a><span class="Delimiter">(</span>p<span class="Delimiter">);</span> +<span id="L32" class="LineNr"> 32 </span> <a href='011run.cc.html#L209'>transform</a><span class="Delimiter">(</span>p<span class="Delimiter">);</span> <span id="L33" class="LineNr"> 33 </span> <span class="Normal">if</span> <span class="Delimiter">(</span><a href='003trace.cc.html#L217'>trace_contains_errors</a><span class="Delimiter">())</span> <span class="Identifier">return</span> <span class="Constant">1</span><span class="Delimiter">;</span> <span id="L34" class="LineNr"> 34 </span> <a href='028translate.cc.html#L41'>save_elf</a><span class="Delimiter">(</span>p<span class="Delimiter">,</span> argv[<span class="Constant">3</span>]<span class="Delimiter">);</span> <span id="L35" class="LineNr"> 35 </span> <span class="Normal">if</span> <span class="Delimiter">(</span><a href='003trace.cc.html#L217'>trace_contains_errors</a><span class="Delimiter">())</span> unlink<span class="Delimiter">(</span>argv[<span class="Constant">3</span>]<span class="Delimiter">);</span> @@ -204,7 +204,7 @@ if ('onhashchange' in window) { <span id="L144" class="LineNr">144 </span> <span class="Normal">for</span> <span class="Delimiter">(</span><span class="Normal">int</span> i = <span class="Constant">0</span><span class="Delimiter">;</span> i < <a href='001help.cc.html#L157'>SIZE</a><span class="Delimiter">(</span>s<span class="Delimiter">.</span><a href='011run.cc.html#L109'>lines</a><span class="Delimiter">);</span> ++i<span class="Delimiter">)</span> <span class="Delimiter">{</span> <span id="L145" class="LineNr">145 </span> <span class="Normal">const</span> vector<word>& w = s<span class="Delimiter">.</span><a href='011run.cc.html#L109'>lines</a><span class="Delimiter">.</span>at<span class="Delimiter">(</span>i<span class="Delimiter">).</span><a href='011run.cc.html#L118'>words</a><span class="Delimiter">;</span> <span id="L146" class="LineNr">146 </span> <span class="Normal">for</span> <span class="Delimiter">(</span><span class="Normal">int</span> j = <span class="Constant">0</span><span class="Delimiter">;</span> j < <a href='001help.cc.html#L157'>SIZE</a><span class="Delimiter">(</span>w<span class="Delimiter">);</span> ++j<span class="Delimiter">)</span> <span class="Delimiter">{</span> -<span id="L147" class="LineNr">147 </span> <span class="Normal">uint8_t</span> x = <a href='011run.cc.html#L232'>hex_byte</a><span class="Delimiter">(</span>w<span class="Delimiter">.</span>at<span class="Delimiter">(</span>j<span class="Delimiter">).</span><a href='011run.cc.html#L125'>data</a><span class="Delimiter">);</span> <span class="Comment">// we're done with metadata by this point</span> +<span id="L147" class="LineNr">147 </span> <span class="Normal">uint8_t</span> x = <a href='011run.cc.html#L245'>hex_byte</a><span class="Delimiter">(</span>w<span class="Delimiter">.</span>at<span class="Delimiter">(</span>j<span class="Delimiter">).</span><a href='011run.cc.html#L125'>data</a><span class="Delimiter">);</span> <span class="Comment">// we're done with metadata by this point</span> <span id="L148" class="LineNr">148 </span> out<span class="Delimiter">.</span>write<span class="Delimiter">(</span><span class="Normal">reinterpret_cast</span><<span class="Normal">const</span> <span class="Normal">char</span>*><span class="Delimiter">(</span>&x<span class="Delimiter">),</span> <span class="Comment">/*</span><span class="Comment">sizeof(byte)</span><span class="Comment">*/</span><span class="Constant">1</span><span class="Delimiter">);</span> <span id="L149" class="LineNr">149 </span> <span class="Delimiter">}</span> <span id="L150" class="LineNr">150 </span> <span class="Delimiter">}</span> |