| 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 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 318 stream->Add("= "); | 318 stream->Add("= "); |
| 319 constructor()->PrintTo(stream); | 319 constructor()->PrintTo(stream); |
| 320 stream->Add(" #%d / ", arity()); | 320 stream->Add(" #%d / ", arity()); |
| 321 } | 321 } |
| 322 | 322 |
| 323 | 323 |
| 324 void LCallNewArray::PrintDataTo(StringStream* stream) { | 324 void LCallNewArray::PrintDataTo(StringStream* stream) { |
| 325 stream->Add("= "); | 325 stream->Add("= "); |
| 326 constructor()->PrintTo(stream); | 326 constructor()->PrintTo(stream); |
| 327 stream->Add(" #%d / ", arity()); | 327 stream->Add(" #%d / ", arity()); |
| 328 ASSERT(hydrogen()->property_cell()->value()->IsSmi()); | |
| 329 ElementsKind kind = hydrogen()->elements_kind(); | 328 ElementsKind kind = hydrogen()->elements_kind(); |
| 330 stream->Add(" (%s) ", ElementsKindToString(kind)); | 329 stream->Add(" (%s) ", ElementsKindToString(kind)); |
| 331 } | 330 } |
| 332 | 331 |
| 333 | 332 |
| 334 void LAccessArgumentsAt::PrintDataTo(StringStream* stream) { | 333 void LAccessArgumentsAt::PrintDataTo(StringStream* stream) { |
| 335 arguments()->PrintTo(stream); | 334 arguments()->PrintTo(stream); |
| 336 stream->Add(" length "); | 335 stream->Add(" length "); |
| 337 length()->PrintTo(stream); | 336 length()->PrintTo(stream); |
| 338 stream->Add(" index "); | 337 stream->Add(" index "); |
| (...skipping 2285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2624 | 2623 |
| 2625 | 2624 |
| 2626 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 2625 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { |
| 2627 LOperand* object = UseRegister(instr->object()); | 2626 LOperand* object = UseRegister(instr->object()); |
| 2628 LOperand* index = UseRegister(instr->index()); | 2627 LOperand* index = UseRegister(instr->index()); |
| 2629 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); | 2628 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); |
| 2630 } | 2629 } |
| 2631 | 2630 |
| 2632 | 2631 |
| 2633 } } // namespace v8::internal | 2632 } } // namespace v8::internal |
| OLD | NEW |