summaryrefslogtreecommitdiff
path: root/src/cuda-sim/ptx_sim.h
diff options
context:
space:
mode:
authorTor Aamodt <[email protected]>2010-07-18 11:46:54 -0800
committerTor Aamodt <[email protected]>2010-07-18 11:46:54 -0800
commit75c79ed8cfa88ed424928eccecea8c37c7a92615 (patch)
treeba5a2b6ce42c6fc8295006e75fc1b44d4fe19994 /src/cuda-sim/ptx_sim.h
parentcc404275f9226185e436e1da483ee58ee85c38ca (diff)
refactoring
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 6880]
Diffstat (limited to 'src/cuda-sim/ptx_sim.h')
-rw-r--r--src/cuda-sim/ptx_sim.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cuda-sim/ptx_sim.h b/src/cuda-sim/ptx_sim.h
index db38ced..7851dc6 100644
--- a/src/cuda-sim/ptx_sim.h
+++ b/src/cuda-sim/ptx_sim.h
@@ -421,6 +421,7 @@ public:
void dump_modifiedregs();
void clear_modifiedregs() { m_debug_trace_regs_modified.clear();}
function_info *get_finfo() { return m_func_info; }
+ const function_info *get_finfo() const { return m_func_info; }
void enable_debug_trace() { m_enable_debug_trace = true; }
unsigned get_local_mem_stack_pointer() const { return m_local_mem_stack_pointer; }