| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 1115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1126 if (OperandCount() == 0) return; | 1126 if (OperandCount() == 0) return; |
| 1127 OperandAt(0)->PrintNameTo(stream); | 1127 OperandAt(0)->PrintNameTo(stream); |
| 1128 for (int i = 1; i < OperandCount(); ++i) { | 1128 for (int i = 1; i < OperandCount(); ++i) { |
| 1129 stream->Add(" "); | 1129 stream->Add(" "); |
| 1130 OperandAt(i)->PrintNameTo(stream); | 1130 OperandAt(i)->PrintNameTo(stream); |
| 1131 } | 1131 } |
| 1132 } | 1132 } |
| 1133 | 1133 |
| 1134 | 1134 |
| 1135 void HEnterInlined::PrintDataTo(StringStream* stream) { | 1135 void HEnterInlined::PrintDataTo(StringStream* stream) { |
| 1136 SmartPointer<char> name = function()->debug_name()->ToCString(); | 1136 SmartArrayPointer<char> name = function()->debug_name()->ToCString(); |
| 1137 stream->Add("%s, id=%d", *name, function()->id()); | 1137 stream->Add("%s, id=%d", *name, function()->id()); |
| 1138 } | 1138 } |
| 1139 | 1139 |
| 1140 | 1140 |
| 1141 HConstant::HConstant(Handle<Object> handle, Representation r) | 1141 HConstant::HConstant(Handle<Object> handle, Representation r) |
| 1142 : handle_(handle), | 1142 : handle_(handle), |
| 1143 has_int32_value_(false), | 1143 has_int32_value_(false), |
| 1144 has_double_value_(false), | 1144 has_double_value_(false), |
| 1145 int32_value_(0), | 1145 int32_value_(0), |
| 1146 double_value_(0) { | 1146 double_value_(0) { |
| (...skipping 732 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1879 | 1879 |
| 1880 | 1880 |
| 1881 void HCheckPrototypeMaps::Verify() { | 1881 void HCheckPrototypeMaps::Verify() { |
| 1882 HInstruction::Verify(); | 1882 HInstruction::Verify(); |
| 1883 ASSERT(HasNoUses()); | 1883 ASSERT(HasNoUses()); |
| 1884 } | 1884 } |
| 1885 | 1885 |
| 1886 #endif | 1886 #endif |
| 1887 | 1887 |
| 1888 } } // namespace v8::internal | 1888 } } // namespace v8::internal |
| OLD | NEW |