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.cc | |
| 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.cc')
| -rw-r--r-- | decuda_to_ptxplus/decudaInstList.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/decuda_to_ptxplus/decudaInstList.cc b/decuda_to_ptxplus/decudaInstList.cc index 4605e64..9ac6f43 100644 --- a/decuda_to_ptxplus/decudaInstList.cc +++ b/decuda_to_ptxplus/decudaInstList.cc @@ -301,7 +301,7 @@ void decudaInstList::addRegister(std::string reg, bool lo) currentPiece = typeModifiers->getListStart(); for(int i=0; (i<typeModifiers->getSize())&&(currentPiece!=NULL); i++) { - char* modString = currentPiece->stringText; + const char* modString = currentPiece->stringText; if( strcmp(modString, ".b64")==0 ) vectorFlag = 64; @@ -451,7 +451,7 @@ void decudaInstList::addConstMemoryValue(std::string constMemoryValue) } // set type of constant memory -void decudaInstList::setConstMemoryType(char* type) +void decudaInstList::setConstMemoryType(const char* type) { m_constMemoryList.back().type = type; } |
