From e99038ea514a8703b170689d5a0730c8d2e542e7 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Mon, 18 Feb 2019 22:43:01 -0800 Subject: 4982 --- html/subx/037heap.cc.html | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'html/subx/037heap.cc.html') diff --git a/html/subx/037heap.cc.html b/html/subx/037heap.cc.html index 94ac1de2..3206e8fc 100644 --- a/html/subx/037heap.cc.html +++ b/html/subx/037heap.cc.html @@ -64,24 +64,24 @@ if ('onhashchange' in window) { 7 insert_heap_global_variable(p); 8 :(code) 9 void insert_heap_global_variable(program& p) { -10 if (SIZE(p.segments) < 2) +10 if (SIZE(p.segments) < 2) 11 return; // no data segment defined 12 // Start-of-heap: -13 p.segments.at(1).lines.push_back(label("Start-of-heap")); +13 p.segments.at(1).lines.push_back(label("Start-of-heap")); 14 } 15 -16 line label(string s) { -17 line result; -18 result.words.push_back(word()); -19 result.words.back().data = (s+":"); +16 line label(string s) { +17 line result; +18 result.words.push_back(word()); +19 result.words.back().data = (s+":"); 20 return result; 21 } 22 -23 line imm32(const string& s) { -24 line result; -25 result.words.push_back(word()); -26 result.words.back().data = s; -27 result.words.back().metadata.push_back("imm32"); +23 line imm32(const string& s) { +24 line result; +25 result.words.push_back(word()); +26 result.words.back().data = s; +27 result.words.back().metadata.push_back("imm32"); 28 return result; 29 } -- cgit 1.4.1-2-gfad0