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 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
362 arguments()->PrintTo(stream); | 362 arguments()->PrintTo(stream); |
363 stream->Add(" length "); | 363 stream->Add(" length "); |
364 length()->PrintTo(stream); | 364 length()->PrintTo(stream); |
365 stream->Add(" index "); | 365 stream->Add(" index "); |
366 index()->PrintTo(stream); | 366 index()->PrintTo(stream); |
367 } | 367 } |
368 | 368 |
369 | 369 |
370 void LStoreNamedField::PrintDataTo(StringStream* stream) { | 370 void LStoreNamedField::PrintDataTo(StringStream* stream) { |
371 object()->PrintTo(stream); | 371 object()->PrintTo(stream); |
372 stream->Add("."); | 372 hydrogen()->access().PrintTo(stream); |
373 stream->Add(*String::cast(*name())->ToCString()); | |
374 stream->Add(" <- "); | 373 stream->Add(" <- "); |
375 value()->PrintTo(stream); | 374 value()->PrintTo(stream); |
376 } | 375 } |
377 | 376 |
378 | 377 |
379 void LStoreNamedGeneric::PrintDataTo(StringStream* stream) { | 378 void LStoreNamedGeneric::PrintDataTo(StringStream* stream) { |
380 object()->PrintTo(stream); | 379 object()->PrintTo(stream); |
381 stream->Add("."); | 380 stream->Add("."); |
382 stream->Add(*String::cast(*name())->ToCString()); | 381 stream->Add(*String::cast(*name())->ToCString()); |
383 stream->Add(" <- "); | 382 stream->Add(" <- "); |
(...skipping 2220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2604 | 2603 |
2605 | 2604 |
2606 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 2605 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { |
2607 LOperand* object = UseRegister(instr->object()); | 2606 LOperand* object = UseRegister(instr->object()); |
2608 LOperand* index = UseRegister(instr->index()); | 2607 LOperand* index = UseRegister(instr->index()); |
2609 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); | 2608 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); |
2610 } | 2609 } |
2611 | 2610 |
2612 | 2611 |
2613 } } // namespace v8::internal | 2612 } } // namespace v8::internal |
OLD | NEW |