diff options
| author | Jimmy Kwa <[email protected]> | 2010-11-15 13:10:19 -0800 |
|---|---|---|
| committer | Jimmy Kwa <[email protected]> | 2010-11-15 13:10:19 -0800 |
| commit | a937a4b354b60999a011970d054cd6c478be130d (patch) | |
| tree | 7e020bf8abe1e6e99316984da0be924396eec53e /decuda_to_ptxplus/decudaInstList.h | |
| parent | bf981f1c32f6248b5e3f0f5b3585fcb0e1daca61 (diff) | |
Cleaned up decuda_to_ptxplus code to remove compiler warnings
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 8119]
Diffstat (limited to 'decuda_to_ptxplus/decudaInstList.h')
| -rw-r--r-- | decuda_to_ptxplus/decudaInstList.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/decuda_to_ptxplus/decudaInstList.h b/decuda_to_ptxplus/decudaInstList.h index 649a5f5..d1707c3 100644 --- a/decuda_to_ptxplus/decudaInstList.h +++ b/decuda_to_ptxplus/decudaInstList.h @@ -14,7 +14,7 @@ struct constMemory { int index; int entryIndex; - char* type; + const char* type; std::list<std::string> m_constMemory; }; @@ -65,7 +65,7 @@ struct decudaEntry class decudaInstList { -private: +protected: // List of decuda entries std::list<decudaEntry> m_entryList; @@ -125,7 +125,7 @@ public: // Parsing constant memory segments list void addEntryConstMemory(int index); // add entry specific const memory void addConstMemory(int index); // add global const memory - void setConstMemoryType(char* type); // set type of constant memory + void setConstMemoryType(const char* type); // set type of constant memory void addConstMemoryValue(std::string constMemoryValue); // add const memory std::list<std::string> getRealTexList(); // get the list of real tex names |
