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 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
371 arguments()->PrintTo(stream); | 371 arguments()->PrintTo(stream); |
372 stream->Add(" length "); | 372 stream->Add(" length "); |
373 length()->PrintTo(stream); | 373 length()->PrintTo(stream); |
374 stream->Add(" index "); | 374 stream->Add(" index "); |
375 index()->PrintTo(stream); | 375 index()->PrintTo(stream); |
376 } | 376 } |
377 | 377 |
378 | 378 |
379 void LStoreNamedField::PrintDataTo(StringStream* stream) { | 379 void LStoreNamedField::PrintDataTo(StringStream* stream) { |
380 object()->PrintTo(stream); | 380 object()->PrintTo(stream); |
381 stream->Add("."); | 381 hydrogen()->access().PrintTo(stream); |
382 stream->Add(*String::cast(*name())->ToCString()); | |
383 stream->Add(" <- "); | 382 stream->Add(" <- "); |
384 value()->PrintTo(stream); | 383 value()->PrintTo(stream); |
385 } | 384 } |
386 | 385 |
387 | 386 |
388 void LStoreNamedGeneric::PrintDataTo(StringStream* stream) { | 387 void LStoreNamedGeneric::PrintDataTo(StringStream* stream) { |
389 object()->PrintTo(stream); | 388 object()->PrintTo(stream); |
390 stream->Add("."); | 389 stream->Add("."); |
391 stream->Add(*String::cast(*name())->ToCString()); | 390 stream->Add(*String::cast(*name())->ToCString()); |
392 stream->Add(" <- "); | 391 stream->Add(" <- "); |
(...skipping 2224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2617 | 2616 |
2618 | 2617 |
2619 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 2618 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { |
2620 LOperand* object = UseRegister(instr->object()); | 2619 LOperand* object = UseRegister(instr->object()); |
2621 LOperand* index = UseRegister(instr->index()); | 2620 LOperand* index = UseRegister(instr->index()); |
2622 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); | 2621 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); |
2623 } | 2622 } |
2624 | 2623 |
2625 | 2624 |
2626 } } // namespace v8::internal | 2625 } } // namespace v8::internal |
OLD | NEW |