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 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
321 stream->Add("= "); | 321 stream->Add("= "); |
322 constructor()->PrintTo(stream); | 322 constructor()->PrintTo(stream); |
323 stream->Add(" #%d / ", arity()); | 323 stream->Add(" #%d / ", arity()); |
324 } | 324 } |
325 | 325 |
326 | 326 |
327 void LCallNewArray::PrintDataTo(StringStream* stream) { | 327 void LCallNewArray::PrintDataTo(StringStream* stream) { |
328 stream->Add("= "); | 328 stream->Add("= "); |
329 constructor()->PrintTo(stream); | 329 constructor()->PrintTo(stream); |
330 stream->Add(" #%d / ", arity()); | 330 stream->Add(" #%d / ", arity()); |
331 ASSERT(hydrogen()->property_cell()->value()->IsSmi()); | |
332 ElementsKind kind = hydrogen()->elements_kind(); | 331 ElementsKind kind = hydrogen()->elements_kind(); |
333 stream->Add(" (%s) ", ElementsKindToString(kind)); | 332 stream->Add(" (%s) ", ElementsKindToString(kind)); |
334 } | 333 } |
335 | 334 |
336 | 335 |
337 void LAccessArgumentsAt::PrintDataTo(StringStream* stream) { | 336 void LAccessArgumentsAt::PrintDataTo(StringStream* stream) { |
338 arguments()->PrintTo(stream); | 337 arguments()->PrintTo(stream); |
339 | 338 |
340 stream->Add(" length "); | 339 stream->Add(" length "); |
341 length()->PrintTo(stream); | 340 length()->PrintTo(stream); |
(...skipping 2222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2564 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 2563 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { |
2565 LOperand* object = UseRegister(instr->object()); | 2564 LOperand* object = UseRegister(instr->object()); |
2566 LOperand* index = UseTempRegister(instr->index()); | 2565 LOperand* index = UseTempRegister(instr->index()); |
2567 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index)); | 2566 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index)); |
2568 } | 2567 } |
2569 | 2568 |
2570 | 2569 |
2571 } } // namespace v8::internal | 2570 } } // namespace v8::internal |
2572 | 2571 |
2573 #endif // V8_TARGET_ARCH_X64 | 2572 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |