summaryrefslogtreecommitdiff
path: root/src/cuda-sim/ptx_ir.h
diff options
context:
space:
mode:
authorMengchi Zhang <[email protected]>2019-07-15 16:17:07 -0400
committerMengchi Zhang <[email protected]>2019-07-15 16:17:07 -0400
commit352d2a3336b1c8e5258ca9d92d214973e98837c0 (patch)
treee903c64f229b7f288057faf0f766238adf4de797 /src/cuda-sim/ptx_ir.h
parent1e57dc86369fbde8d31b4a629721c716ca2c3307 (diff)
Move s_g_pc_to_insn
Signed-off-by: Mengchi Zhang <[email protected]>
Diffstat (limited to 'src/cuda-sim/ptx_ir.h')
-rw-r--r--src/cuda-sim/ptx_ir.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/cuda-sim/ptx_ir.h b/src/cuda-sim/ptx_ir.h
index 8fc0a06..f4c5c37 100644
--- a/src/cuda-sim/ptx_ir.h
+++ b/src/cuda-sim/ptx_ir.h
@@ -1372,13 +1372,6 @@ public:
return m_symtab;
}
- static const ptx_instruction* pc_to_instruction(unsigned pc)
- {
- if( pc < s_g_pc_to_insn.size() )
- return s_g_pc_to_insn[pc];
- else
- return NULL;
- }
unsigned local_mem_framesize() const
{
return m_local_mem_framesize;
@@ -1436,8 +1429,6 @@ private:
symbol_table *m_symtab;
- static std::vector<ptx_instruction*> s_g_pc_to_insn; // a direct mapping from PC to instruction
-
//parameter size for device kernels
int m_args_aligned_size;