summaryrefslogtreecommitdiff
path: root/src/cuda-sim/ptx_parser.h
diff options
context:
space:
mode:
authorMengchi Zhang <[email protected]>2019-07-15 11:58:10 -0400
committerMengchi Zhang <[email protected]>2019-07-15 11:58:10 -0400
commit67950eb12eec495b1976934acc763db481d955f8 (patch)
treee139482074ee582acbee4fc1b3f353ed1ec60f86 /src/cuda-sim/ptx_parser.h
parentc4782ba3c78e6e97db9f56780991dc5cf827c755 (diff)
Move operand_info::sm_next_uid
Signed-off-by: Mengchi Zhang <[email protected]>
Diffstat (limited to 'src/cuda-sim/ptx_parser.h')
-rw-r--r--src/cuda-sim/ptx_parser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cuda-sim/ptx_parser.h b/src/cuda-sim/ptx_parser.h
index 1e559a2..11a3d20 100644
--- a/src/cuda-sim/ptx_parser.h
+++ b/src/cuda-sim/ptx_parser.h
@@ -35,7 +35,7 @@ class gpgpu_context;
typedef void * yyscan_t;
class ptx_recognizer {
public:
- ptx_recognizer( gpgpu_context* ctx ) {
+ ptx_recognizer( gpgpu_context* ctx ) : g_return_var(ctx) {
scanner = NULL;
g_size = -1;
g_add_identifier_cached__identifier = NULL;