Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(140)

Side by Side Diff: src/hydrogen-instructions.cc

Issue 21345002: Get rid of HLinkObjectInList. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/hydrogen-instructions.h ('k') | src/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 3582 matching lines...) Expand 10 before | Expand all | Expand 10 after
3593 if (details_.IsReadOnly()) stream->Add(" (read-only)"); 3593 if (details_.IsReadOnly()) stream->Add(" (read-only)");
3594 } 3594 }
3595 3595
3596 3596
3597 void HStoreGlobalGeneric::PrintDataTo(StringStream* stream) { 3597 void HStoreGlobalGeneric::PrintDataTo(StringStream* stream) {
3598 stream->Add("%o = ", *name()); 3598 stream->Add("%o = ", *name());
3599 value()->PrintNameTo(stream); 3599 value()->PrintNameTo(stream);
3600 } 3600 }
3601 3601
3602 3602
3603 void HLinkObjectInList::PrintDataTo(StringStream* stream) {
3604 value()->PrintNameTo(stream);
3605 stream->Add(" offset %d", store_field_.offset());
3606 }
3607
3608
3609 void HLoadContextSlot::PrintDataTo(StringStream* stream) { 3603 void HLoadContextSlot::PrintDataTo(StringStream* stream) {
3610 value()->PrintNameTo(stream); 3604 value()->PrintNameTo(stream);
3611 stream->Add("[%d]", slot_index()); 3605 stream->Add("[%d]", slot_index());
3612 } 3606 }
3613 3607
3614 3608
3615 void HStoreContextSlot::PrintDataTo(StringStream* stream) { 3609 void HStoreContextSlot::PrintDataTo(StringStream* stream) {
3616 context()->PrintNameTo(stream); 3610 context()->PrintNameTo(stream);
3617 stream->Add("[%d] = ", slot_index()); 3611 stream->Add("[%d] = ", slot_index());
3618 value()->PrintNameTo(stream); 3612 value()->PrintNameTo(stream);
(...skipping 848 matching lines...) Expand 10 before | Expand all | Expand 10 after
4467 break; 4461 break;
4468 case kExternalMemory: 4462 case kExternalMemory:
4469 stream->Add("[external-memory]"); 4463 stream->Add("[external-memory]");
4470 break; 4464 break;
4471 } 4465 }
4472 4466
4473 stream->Add("@%d", offset()); 4467 stream->Add("@%d", offset());
4474 } 4468 }
4475 4469
4476 } } // namespace v8::internal 4470 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/hydrogen-instructions.h ('k') | src/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698