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 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
323 stream->Add("= "); | 323 stream->Add("= "); |
324 constructor()->PrintTo(stream); | 324 constructor()->PrintTo(stream); |
325 stream->Add(" #%d / ", arity()); | 325 stream->Add(" #%d / ", arity()); |
326 } | 326 } |
327 | 327 |
328 | 328 |
329 void LCallNewArray::PrintDataTo(StringStream* stream) { | 329 void LCallNewArray::PrintDataTo(StringStream* stream) { |
330 stream->Add("= "); | 330 stream->Add("= "); |
331 constructor()->PrintTo(stream); | 331 constructor()->PrintTo(stream); |
332 stream->Add(" #%d / ", arity()); | 332 stream->Add(" #%d / ", arity()); |
333 ASSERT(hydrogen()->property_cell()->value()->IsSmi()); | |
334 ElementsKind kind = hydrogen()->elements_kind(); | 333 ElementsKind kind = hydrogen()->elements_kind(); |
335 stream->Add(" (%s) ", ElementsKindToString(kind)); | 334 stream->Add(" (%s) ", ElementsKindToString(kind)); |
336 } | 335 } |
337 | 336 |
338 | 337 |
339 void LAccessArgumentsAt::PrintDataTo(StringStream* stream) { | 338 void LAccessArgumentsAt::PrintDataTo(StringStream* stream) { |
340 arguments()->PrintTo(stream); | 339 arguments()->PrintTo(stream); |
341 stream->Add(" length "); | 340 stream->Add(" length "); |
342 length()->PrintTo(stream); | 341 length()->PrintTo(stream); |
343 stream->Add(" index "); | 342 stream->Add(" index "); |
(...skipping 2203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2547 | 2546 |
2548 | 2547 |
2549 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 2548 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { |
2550 LOperand* object = UseRegister(instr->object()); | 2549 LOperand* object = UseRegister(instr->object()); |
2551 LOperand* index = UseRegister(instr->index()); | 2550 LOperand* index = UseRegister(instr->index()); |
2552 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); | 2551 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); |
2553 } | 2552 } |
2554 | 2553 |
2555 | 2554 |
2556 } } // namespace v8::internal | 2555 } } // namespace v8::internal |
OLD | NEW |