aboutsummaryrefslogtreecommitdiffstats
path: root/c_compiler/TAGS
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2017-03-10 12:48:53 +0000
committerYann Herklotz <ymherklotz@gmail.com>2017-03-10 12:48:53 +0000
commit28251a0c6f4e31c63c12746ffa77e05c669ef80d (patch)
treee1a9dfad8db410a0ae0db0e56f1bfc9accac6262 /c_compiler/TAGS
parent3e145bf08b1ffcccb4df8f2fc34f5bb95b5b250c (diff)
downloadCompiler-28251a0c6f4e31c63c12746ffa77e05c669ef80d.tar.gz
Compiler-28251a0c6f4e31c63c12746ffa77e05c669ef80d.zip
Changing printasm
Diffstat (limited to 'c_compiler/TAGS')
-rw-r--r--c_compiler/TAGS113
1 files changed, 62 insertions, 51 deletions
diff --git a/c_compiler/TAGS b/c_compiler/TAGS
index 97375a9..77480fc 100644
--- a/c_compiler/TAGS
+++ b/c_compiler/TAGS
@@ -4,22 +4,22 @@ include/node.hpp,96
class Node {Node7,64
virtual ~Node() {}~Node9,85
-include/statement.hpp,783
+include/statement.hpp,786
#define AST_STATEMENT_HPPAST_STATEMENT_HPP2,26
class Statement : public Node {Statement7,74
Statement* next_statement;next_statement9,117
-class CompoundStatement : public Statement {CompoundStatement24,435
- Declaration* m_decl;m_decl26,491
- Statement* m_statement;m_statement27,516
-class SelectionStatement : public Statement {SelectionStatement41,855
- Statement* m_if;m_if43,912
- Statement* m_else;m_else44,933
-class ExpressionStatement : public Statement {ExpressionStatement56,1211
- Expression* m_expr;m_expr58,1269
-class JumpStatement : public Statement {JumpStatement70,1523
- Expression* m_expr;m_expr72,1575
-class IterationStatement : public Statement {IterationStatement84,1823
- Statement* m_statement;m_statement86,1880
+class CompoundStatement : public Statement {CompoundStatement26,524
+ Declaration* m_decl;m_decl28,580
+ Statement* m_statement;m_statement29,605
+class SelectionStatement : public Statement {SelectionStatement45,1029
+ Statement* m_if;m_if47,1086
+ Statement* m_else;m_else48,1107
+class ExpressionStatement : public Statement {ExpressionStatement62,1470
+ Expression* m_expr;m_expr64,1528
+class JumpStatement : public Statement {JumpStatement78,1867
+ Expression* m_expr;m_expr80,1919
+class IterationStatement : public Statement {IterationStatement94,2252
+ Statement* m_statement;m_statement96,2309
include/function.hpp,363
#define AST_FUNCTION_HPPAST_FUNCTION_HPP2,25
@@ -35,10 +35,10 @@ class Function : public Node {Function13,142
include/expression.hpp,286
#define AST_EXPRESSION_HPPAST_EXPRESSION_HPP2,27
class Expression : public Node {Expression6,75
-class Identifier : public Expression {Identifier15,232
- std::string m_id;m_id17,280
-class Constant : public Expression {Constant25,390
- int32_t m_constant;m_constant27,436
+class Identifier : public Expression {Identifier16,267
+ std::string m_id;m_id18,315
+class Constant : public Expression {Constant26,425
+ int32_t m_constant;m_constant28,471
include/translation_unit.hpp,163
#define EXTERNAL_HPPEXTERNAL_HPP2,21
@@ -65,11 +65,11 @@ typedef std::map<std::string, VarLocation> VariableStack;VariableStack12,145
include/declaration.hpp,297
#define AST_DECLARATION_HPPAST_DECLARATION_HPP2,28
class Declaration : public Node {Declaration8,127
- Type* type;type10,172
- std::string id;id11,188
- Expression* init;init12,208
- Declaration* next_decl;next_decl13,230
- Declaration* list_next_decl;list_next_decl14,258
+ Type* type;type10,170
+ std::string id;id11,186
+ Expression* init;init12,206
+ Declaration* next_decl;next_decl13,228
+ Declaration* list_next_decl;list_next_decl14,256
src/c_parser.tab.cpp,9030
#define YYBISON YYBISON44,2037
@@ -461,7 +461,7 @@ void Identifier::printasm() constprintasm19,212
Constant::Constant(const int32_t& constant)Constant25,275
void Constant::printasm() constprintasm29,350
-src/statement.cpp,1960
+src/statement.cpp,2074
Statement::Statement(Statement* statement)Statement6,59
void Statement::addStatement(Statement* _next)addStatement10,138
CompoundStatement::CompoundStatement(Declaration* decl, Statement* statement)CompoundStatement18,253
@@ -470,26 +470,27 @@ void CompoundStatement::print() constprint26,483
void CompoundStatement::printxml() constprintxml35,629
void CompoundStatement::printasm() constprintasm51,945
void CompoundStatement::count_variables(int32_t& var_count) constcount_variables62,1154
-SelectionStatement::SelectionStatement(Statement* _if, Statement* _else)SelectionStatement90,1751
-void SelectionStatement::print() constprint93,1872
-void SelectionStatement::printxml() constprintxml99,1956
-void SelectionStatement::printasm() constprintasm109,2156
-void SelectionStatement::count_variables(int32_t& var_count) constcount_variables112,2202
-ExpressionStatement::ExpressionStatement(Expression* expr)ExpressionStatement127,2514
-void ExpressionStatement::print() constprint131,2609
-void ExpressionStatement::printxml() constprintxml134,2653
-void ExpressionStatement::printasm() constprintasm137,2700
-void ExpressionStatement::count_variables(int32_t& var_count) constcount_variables140,2747
-JumpStatement::JumpStatement(Expression* expr)JumpStatement149,2930
-void JumpStatement::print() constprint153,3000
-void JumpStatement::printxml() constprintxml156,3038
-void JumpStatement::printasm() constprintasm162,3143
-void JumpStatement::count_variables(int32_t& var_count) constcount_variables167,3209
-IterationStatement::IterationStatement(Statement* statement)IterationStatement176,3391
-void IterationStatement::print() constprint180,3485
-void IterationStatement::printxml() constprintxml183,3528
-void IterationStatement::printasm() constprintasm191,3695
-void IterationStatement::count_variables(int32_t& var_count) constcount_variables194,3741
+void CompoundStatement::make_variables(VariableStack var_stack, int32_t& var_count) constmake_variables87,1715
+SelectionStatement::SelectionStatement(Statement* _if, Statement* _else)SelectionStatement95,1851
+void SelectionStatement::print() constprint98,1972
+void SelectionStatement::printxml() constprintxml104,2056
+void SelectionStatement::printasm() constprintasm114,2256
+void SelectionStatement::count_variables(int32_t& var_count) constcount_variables117,2302
+ExpressionStatement::ExpressionStatement(Expression* expr)ExpressionStatement132,2614
+void ExpressionStatement::print() constprint136,2709
+void ExpressionStatement::printxml() constprintxml139,2753
+void ExpressionStatement::printasm() constprintasm142,2800
+void ExpressionStatement::count_variables(int32_t& var_count) constcount_variables145,2847
+JumpStatement::JumpStatement(Expression* expr)JumpStatement154,3030
+void JumpStatement::print() constprint158,3100
+void JumpStatement::printxml() constprintxml161,3138
+void JumpStatement::printasm() constprintasm167,3243
+void JumpStatement::count_variables(int32_t& var_count) constcount_variables172,3309
+IterationStatement::IterationStatement(Statement* statement)IterationStatement181,3491
+void IterationStatement::print() constprint185,3585
+void IterationStatement::printxml() constprintxml188,3628
+void IterationStatement::printasm() constprintasm196,3795
+void IterationStatement::count_variables(int32_t& var_count) constcount_variables199,3841
src/c_parser.tab.hpp,2446
# define YY_YY_C_COMPILER_SRC_C_PARSER_TAB_HPP_INCLUDEDYY_YY_C_COMPILER_SRC_C_PARSER_TAB_HPP_INCLUDED34,1569
@@ -561,18 +562,18 @@ typedef union YYSTYPE YYSTYPE;YYSTYPE135,3582
src/compiler_main.cpp,43
int main(int argc, char *argv[])main5,41
-src/declaration.cpp,651
+src/declaration.cpp,654
Declaration::Declaration(const std::string& _id)Declaration6,48
void Declaration::print() constprint10,115
void Declaration::printxml() constprintxml19,255
void Declaration::printasm() constprintasm32,504
-void Declaration::addDeclaration(Declaration* _next_decl)addDeclaration35,543
-void Declaration::addList(Declaration* _next_decl)addList40,634
-void Declaration::setType(Type* _type)setType45,723
-Declaration* Declaration::getNext() constgetNext50,785
-Declaration* Declaration::getNextListItem() constgetNextListItem55,854
-std::string Declaration::getId() constgetId60,936
-std::string Declaration::getType() constgetType65,995
+void Declaration::addDeclaration(Declaration* _next_decl)addDeclaration42,746
+void Declaration::addList(Declaration* _next_decl)addList47,837
+void Declaration::setType(Type* _type)setType52,926
+Declaration* Declaration::getNext() constgetNext57,988
+Declaration* Declaration::getNextListItem() constgetNextListItem62,1057
+std::string Declaration::getId() constgetId67,1139
+std::string Declaration::getType() constgetType72,1198
src/translation_unit.cpp,276
TranslationUnit::TranslationUnit(Node* decl)TranslationUnit6,53
@@ -653,12 +654,18 @@ test/out/04.s,28
main:main3,20
f:f14,153
+test/out/05.s,0
+
test/out/02.s,16
main:main3,20
test/in/02.c,22
int main() {main1,0
+test/in/05.c,44
+char *glob;glob1,0
+int main() {main3,13
+
test/in/01.c,22
int main() {main1,0
@@ -679,5 +686,9 @@ test/ref/04.s,30
main:main15,207
f:f47,695
+test/ref/05.s,36
+$LC0:$LC012,145
+main:main21,267
+
test/ref/02.s,18
main:main15,207