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 2095 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2479 | 2478 |
2480 | 2479 |
2481 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 2480 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { |
2482 LOperand* object = UseRegister(instr->object()); | 2481 LOperand* object = UseRegister(instr->object()); |
2483 LOperand* index = UseRegister(instr->index()); | 2482 LOperand* index = UseRegister(instr->index()); |
2484 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); | 2483 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); |
2485 } | 2484 } |
2486 | 2485 |
2487 | 2486 |
2488 } } // namespace v8::internal | 2487 } } // namespace v8::internal |
OLD | NEW |