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 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
343 stream->Add(" #%d / ", arity()); | 343 stream->Add(" #%d / ", arity()); |
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()); | |
354 ElementsKind kind = hydrogen()->elements_kind(); | 353 ElementsKind kind = hydrogen()->elements_kind(); |
355 stream->Add(" (%s) ", ElementsKindToString(kind)); | 354 stream->Add(" (%s) ", ElementsKindToString(kind)); |
356 } | 355 } |
357 | 356 |
358 | 357 |
359 void LAccessArgumentsAt::PrintDataTo(StringStream* stream) { | 358 void LAccessArgumentsAt::PrintDataTo(StringStream* stream) { |
360 arguments()->PrintTo(stream); | 359 arguments()->PrintTo(stream); |
361 | 360 |
362 stream->Add(" length "); | 361 stream->Add(" length "); |
363 length()->PrintTo(stream); | 362 length()->PrintTo(stream); |
(...skipping 2440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2804 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 2803 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { |
2805 LOperand* object = UseRegister(instr->object()); | 2804 LOperand* object = UseRegister(instr->object()); |
2806 LOperand* index = UseTempRegister(instr->index()); | 2805 LOperand* index = UseTempRegister(instr->index()); |
2807 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index)); | 2806 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index)); |
2808 } | 2807 } |
2809 | 2808 |
2810 | 2809 |
2811 } } // namespace v8::internal | 2810 } } // namespace v8::internal |
2812 | 2811 |
2813 #endif // V8_TARGET_ARCH_IA32 | 2812 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |