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 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
344 } | 344 } |
345 | 345 |
346 | 346 |
347 void LCallNewArray::PrintDataTo(StringStream* stream) { | 347 void LCallNewArray::PrintDataTo(StringStream* stream) { |
348 stream->Add("= "); | 348 stream->Add("= "); |
349 context()->PrintTo(stream); | 349 context()->PrintTo(stream); |
350 stream->Add(" "); | 350 stream->Add(" "); |
351 constructor()->PrintTo(stream); | 351 constructor()->PrintTo(stream); |
352 stream->Add(" #%d / ", arity()); | 352 stream->Add(" #%d / ", arity()); |
353 ASSERT(hydrogen()->property_cell()->value()->IsSmi()); | 353 ASSERT(hydrogen()->property_cell()->value()->IsSmi()); |
354 ElementsKind kind = static_cast<ElementsKind>( | 354 ElementsKind kind = hydrogen()->elements_kind(); |
355 Smi::cast(hydrogen()->property_cell()->value())->value()); | |
356 stream->Add(" (%s) ", ElementsKindToString(kind)); | 355 stream->Add(" (%s) ", ElementsKindToString(kind)); |
357 } | 356 } |
358 | 357 |
359 | 358 |
360 void LAccessArgumentsAt::PrintDataTo(StringStream* stream) { | 359 void LAccessArgumentsAt::PrintDataTo(StringStream* stream) { |
361 arguments()->PrintTo(stream); | 360 arguments()->PrintTo(stream); |
362 | 361 |
363 stream->Add(" length "); | 362 stream->Add(" length "); |
364 length()->PrintTo(stream); | 363 length()->PrintTo(stream); |
365 | 364 |
(...skipping 2424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2790 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 2789 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { |
2791 LOperand* object = UseRegister(instr->object()); | 2790 LOperand* object = UseRegister(instr->object()); |
2792 LOperand* index = UseTempRegister(instr->index()); | 2791 LOperand* index = UseTempRegister(instr->index()); |
2793 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index)); | 2792 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index)); |
2794 } | 2793 } |
2795 | 2794 |
2796 | 2795 |
2797 } } // namespace v8::internal | 2796 } } // namespace v8::internal |
2798 | 2797 |
2799 #endif // V8_TARGET_ARCH_IA32 | 2798 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |