summaryrefslogtreecommitdiff
path: root/src/cuda-sim/ptx_parser.cc
diff options
context:
space:
mode:
authorMengchi Zhang <[email protected]>2019-07-10 15:03:16 -0400
committerMengchi Zhang <[email protected]>2019-07-10 15:03:16 -0400
commit87726d32ada00fcd93f2cf24ccae4ba593c4f9ec (patch)
treec7de8c63151c9a65d29fe2c417045c1c5b45cccc /src/cuda-sim/ptx_parser.cc
parentc58d52ccde1eea6c45d0f8d2d5411bcf1ebab4f9 (diff)
Move g_pc_to_finfo
Signed-off-by: Mengchi Zhang <[email protected]>
Diffstat (limited to 'src/cuda-sim/ptx_parser.cc')
-rw-r--r--src/cuda-sim/ptx_parser.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cuda-sim/ptx_parser.cc b/src/cuda-sim/ptx_parser.cc
index 269ec4d..5a94679 100644
--- a/src/cuda-sim/ptx_parser.cc
+++ b/src/cuda-sim/ptx_parser.cc
@@ -112,7 +112,7 @@ symbol_table * gpgpu_context::init_parser( const char *ptx_filename )
{
g_filename = strdup(ptx_filename);
if (g_global_allfiles_symbol_table == NULL) {
- g_global_allfiles_symbol_table = new symbol_table("global_allfiles", 0, NULL);
+ g_global_allfiles_symbol_table = new symbol_table("global_allfiles", 0, NULL, this);
ptx_parser->g_global_symbol_table = ptx_parser->g_current_symbol_table = g_global_allfiles_symbol_table;
}
/*else {