| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 1034 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1045 } | 1045 } |
| 1046 if (expected_input_types_.Contains(ToBooleanStub::SMI)) { | 1046 if (expected_input_types_.Contains(ToBooleanStub::SMI)) { |
| 1047 return Representation::Smi(); | 1047 return Representation::Smi(); |
| 1048 } | 1048 } |
| 1049 return Representation::None(); | 1049 return Representation::None(); |
| 1050 } | 1050 } |
| 1051 | 1051 |
| 1052 | 1052 |
| 1053 void HCompareMap::PrintDataTo(StringStream* stream) { | 1053 void HCompareMap::PrintDataTo(StringStream* stream) { |
| 1054 value()->PrintNameTo(stream); | 1054 value()->PrintNameTo(stream); |
| 1055 stream->Add(" (%p)", *map()); | 1055 stream->Add(" (%p)", *map().handle()); |
| 1056 HControlInstruction::PrintDataTo(stream); | 1056 HControlInstruction::PrintDataTo(stream); |
| 1057 } | 1057 } |
| 1058 | 1058 |
| 1059 | 1059 |
| 1060 const char* HUnaryMathOperation::OpName() const { | 1060 const char* HUnaryMathOperation::OpName() const { |
| 1061 switch (op()) { | 1061 switch (op()) { |
| 1062 case kMathFloor: return "floor"; | 1062 case kMathFloor: return "floor"; |
| 1063 case kMathRound: return "round"; | 1063 case kMathRound: return "round"; |
| 1064 case kMathAbs: return "abs"; | 1064 case kMathAbs: return "abs"; |
| 1065 case kMathLog: return "log"; | 1065 case kMathLog: return "log"; |
| (...skipping 3157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4223 break; | 4223 break; |
| 4224 case kExternalMemory: | 4224 case kExternalMemory: |
| 4225 stream->Add("[external-memory]"); | 4225 stream->Add("[external-memory]"); |
| 4226 break; | 4226 break; |
| 4227 } | 4227 } |
| 4228 | 4228 |
| 4229 stream->Add("@%d", offset()); | 4229 stream->Add("@%d", offset()); |
| 4230 } | 4230 } |
| 4231 | 4231 |
| 4232 } } // namespace v8::internal | 4232 } } // namespace v8::internal |
| OLD | NEW |