| 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 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 391 key()->PrintTo(stream); | 391 key()->PrintTo(stream); |
| 392 if (hydrogen()->IsDehoisted()) { | 392 if (hydrogen()->IsDehoisted()) { |
| 393 stream->Add(" + %d] <-", additional_index()); | 393 stream->Add(" + %d] <-", additional_index()); |
| 394 } else { | 394 } else { |
| 395 stream->Add("] <- "); | 395 stream->Add("] <- "); |
| 396 } | 396 } |
| 397 value()->PrintTo(stream); | 397 value()->PrintTo(stream); |
| 398 } | 398 } |
| 399 | 399 |
| 400 | 400 |
| 401 void LStoreKeyedGeneric::PrintDataTo(StringStream* stream) { |
| 402 object()->PrintTo(stream); |
| 403 stream->Add("["); |
| 404 key()->PrintTo(stream); |
| 405 stream->Add("] <- "); |
| 406 value()->PrintTo(stream); |
| 407 } |
| 408 |
| 409 |
| 401 void LTransitionElementsKind::PrintDataTo(StringStream* stream) { | 410 void LTransitionElementsKind::PrintDataTo(StringStream* stream) { |
| 402 object()->PrintTo(stream); | 411 object()->PrintTo(stream); |
| 403 stream->Add(" %p -> %p", *original_map(), *transitioned_map()); | 412 stream->Add(" %p -> %p", *original_map(), *transitioned_map()); |
| 404 } | 413 } |
| 405 | 414 |
| 406 | 415 |
| 407 int LPlatformChunk::GetNextSpillIndex(bool is_double) { | 416 int LPlatformChunk::GetNextSpillIndex(bool is_double) { |
| 408 // Skip a slot if for a double-width slot. | 417 // Skip a slot if for a double-width slot. |
| 409 if (is_double) spill_slot_count_++; | 418 if (is_double) spill_slot_count_++; |
| 410 return spill_slot_count_++; | 419 return spill_slot_count_++; |
| (...skipping 1807 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2218 | 2227 |
| 2219 | 2228 |
| 2220 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 2229 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { |
| 2221 LOperand* object = UseRegister(instr->object()); | 2230 LOperand* object = UseRegister(instr->object()); |
| 2222 LOperand* index = UseRegister(instr->index()); | 2231 LOperand* index = UseRegister(instr->index()); |
| 2223 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); | 2232 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); |
| 2224 } | 2233 } |
| 2225 | 2234 |
| 2226 | 2235 |
| 2227 } } // namespace v8::internal | 2236 } } // namespace v8::internal |
| OLD | NEW |