OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 430 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
441 void LStoreKeyedGeneric::PrintDataTo(StringStream* stream) { | 441 void LStoreKeyedGeneric::PrintDataTo(StringStream* stream) { |
442 object()->PrintTo(stream); | 442 object()->PrintTo(stream); |
443 stream->Add("["); | 443 stream->Add("["); |
444 key()->PrintTo(stream); | 444 key()->PrintTo(stream); |
445 stream->Add("] <- "); | 445 stream->Add("] <- "); |
446 value()->PrintTo(stream); | 446 value()->PrintTo(stream); |
447 } | 447 } |
448 | 448 |
449 | 449 |
450 void LChunk::AddInstruction(LInstruction* instr, HBasicBlock* block) { | 450 void LChunk::AddInstruction(LInstruction* instr, HBasicBlock* block) { |
451 LGap* gap = new LGap(block); | 451 LInstructionGap* gap = new LInstructionGap(block); |
452 int index = -1; | 452 int index = -1; |
453 if (instr->IsControl()) { | 453 if (instr->IsControl()) { |
454 instructions_.Add(gap); | 454 instructions_.Add(gap); |
455 index = instructions_.length(); | 455 index = instructions_.length(); |
456 instructions_.Add(instr); | 456 instructions_.Add(instr); |
457 } else { | 457 } else { |
458 index = instructions_.length(); | 458 index = instructions_.length(); |
459 instructions_.Add(instr); | 459 instructions_.Add(instr); |
460 instructions_.Add(gap); | 460 instructions_.Add(gap); |
461 } | 461 } |
(...skipping 1670 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2132 | 2132 |
2133 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { | 2133 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { |
2134 HEnvironment* outer = current_block_->last_environment()->outer(); | 2134 HEnvironment* outer = current_block_->last_environment()->outer(); |
2135 current_block_->UpdateEnvironment(outer); | 2135 current_block_->UpdateEnvironment(outer); |
2136 return NULL; | 2136 return NULL; |
2137 } | 2137 } |
2138 | 2138 |
2139 } } // namespace v8::internal | 2139 } } // namespace v8::internal |
2140 | 2140 |
2141 #endif // V8_TARGET_ARCH_X64 | 2141 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |