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 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
369 } | 369 } |
370 | 370 |
371 | 371 |
372 void LCallNewArray::PrintDataTo(StringStream* stream) { | 372 void LCallNewArray::PrintDataTo(StringStream* stream) { |
373 stream->Add("= "); | 373 stream->Add("= "); |
374 context()->PrintTo(stream); | 374 context()->PrintTo(stream); |
375 stream->Add(" "); | 375 stream->Add(" "); |
376 constructor()->PrintTo(stream); | 376 constructor()->PrintTo(stream); |
377 stream->Add(" #%d / ", arity()); | 377 stream->Add(" #%d / ", arity()); |
378 ASSERT(hydrogen()->property_cell()->value()->IsSmi()); | 378 ASSERT(hydrogen()->property_cell()->value()->IsSmi()); |
379 ElementsKind kind = static_cast<ElementsKind>( | 379 ElementsKind kind = hydrogen()->elements_kind(); |
380 Smi::cast(hydrogen()->property_cell()->value())->value()); | |
381 stream->Add(" (%s) ", ElementsKindToString(kind)); | 380 stream->Add(" (%s) ", ElementsKindToString(kind)); |
382 } | 381 } |
383 | 382 |
384 | 383 |
385 void LAccessArgumentsAt::PrintDataTo(StringStream* stream) { | 384 void LAccessArgumentsAt::PrintDataTo(StringStream* stream) { |
386 arguments()->PrintTo(stream); | 385 arguments()->PrintTo(stream); |
387 | 386 |
388 stream->Add(" length "); | 387 stream->Add(" length "); |
389 length()->PrintTo(stream); | 388 length()->PrintTo(stream); |
390 | 389 |
(...skipping 2422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2813 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 2812 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { |
2814 LOperand* object = UseRegister(instr->object()); | 2813 LOperand* object = UseRegister(instr->object()); |
2815 LOperand* index = UseTempRegister(instr->index()); | 2814 LOperand* index = UseTempRegister(instr->index()); |
2816 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index)); | 2815 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index)); |
2817 } | 2816 } |
2818 | 2817 |
2819 | 2818 |
2820 } } // namespace v8::internal | 2819 } } // namespace v8::internal |
2821 | 2820 |
2822 #endif // V8_TARGET_ARCH_IA32 | 2821 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |