summaryrefslogtreecommitdiff
path: root/src/cuda-sim/ptx_parser.cc
diff options
context:
space:
mode:
authorMengchi Zhang <[email protected]>2019-06-12 19:13:55 -0400
committerMengchi Zhang <[email protected]>2019-06-12 19:13:55 -0400
commite5447646aaca133f2cc5cbafcaf7aeef4b384c62 (patch)
treeada059a62e896440245e7c5de9e7c69ed3c24406 /src/cuda-sim/ptx_parser.cc
parent5530b51c7c572d25717ad7f5d81196011dfcb540 (diff)
Add some vars in ptx_parser
Signed-off-by: Mengchi Zhang <[email protected]>
Diffstat (limited to 'src/cuda-sim/ptx_parser.cc')
-rw-r--r--src/cuda-sim/ptx_parser.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/cuda-sim/ptx_parser.cc b/src/cuda-sim/ptx_parser.cc
index 32e12a1..a01d1e3 100644
--- a/src/cuda-sim/ptx_parser.cc
+++ b/src/cuda-sim/ptx_parser.cc
@@ -53,10 +53,6 @@ const char *g_filename;
// the program intermediate representation...
std::map<std::string,symbol_table*> g_sym_name_to_symbol_table;
-static std::list<ptx_instruction*> g_instructions;
-
-int g_error_detected = 0;
-
#define PTX_PARSE_DPRINTF(...) \
if( g_debug_ir_generation ) { \
@@ -67,7 +63,6 @@ int g_error_detected = 0;
fflush(stdout); \
}
-static unsigned g_entry_func_param_index=0;
static function_info *g_func_info = NULL;
static std::map<unsigned,std::string> g_ptx_token_decode;
static operand_info g_return_var;