Changeset b1d3ee1 for src/BasicTypes-gen.cc
- Timestamp:
- May 8, 2019, 10:28:04 AM (4 years ago)
- Branches:
- arm-eh, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 6a625de, 7bb6bd8
- Parents:
- cedb545 (diff), 1c9568f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/BasicTypes-gen.cc
rcedb545 rb1d3ee1 1 #include <algorithm> 1 2 #include <queue> 2 3 #include <iostream> … … 340 341 } // for 341 342 code << "\t}; // costMatrix" << endl; 343 344 // maximum conversion cost from int 345 code << "\tstatic const int maxIntCost = " << *max_element(costMatrix[SignedInt], costMatrix[SignedInt] + NUMBER_OF_BASIC_TYPES) << ";" << endl; 342 346 code << "\t"; // indentation for end marker 343 347 344 348 if ( (start = str.find( ENDMK, start + 1 )) == string::npos ) Abort( "end", ConversionCost ); 345 349 if ( (end = str.find( STARTMK, start + 1 )) == string::npos ) Abort( "start", ConversionCost );
Note: See TracChangeset
for help on using the changeset viewer.