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

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

Issue 18173013: AllocationSite objects weakly linked for traversal (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed final nits Created 7 years, 5 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 3033 matching lines...) Expand 10 before | Expand all | Expand 10 after
3044 if (details_.IsReadOnly()) stream->Add(" (read-only)"); 3044 if (details_.IsReadOnly()) stream->Add(" (read-only)");
3045 } 3045 }
3046 3046
3047 3047
3048 void HStoreGlobalGeneric::PrintDataTo(StringStream* stream) { 3048 void HStoreGlobalGeneric::PrintDataTo(StringStream* stream) {
3049 stream->Add("%o = ", *name()); 3049 stream->Add("%o = ", *name());
3050 value()->PrintNameTo(stream); 3050 value()->PrintNameTo(stream);
3051 } 3051 }
3052 3052
3053 3053
3054 void HLinkObjectInList::PrintDataTo(StringStream* stream) {
3055 value()->PrintNameTo(stream);
3056 stream->Add(" offset %d", store_field_.offset());
3057 }
3058
3059
3054 void HLoadContextSlot::PrintDataTo(StringStream* stream) { 3060 void HLoadContextSlot::PrintDataTo(StringStream* stream) {
3055 value()->PrintNameTo(stream); 3061 value()->PrintNameTo(stream);
3056 stream->Add("[%d]", slot_index()); 3062 stream->Add("[%d]", slot_index());
3057 } 3063 }
3058 3064
3059 3065
3060 void HStoreContextSlot::PrintDataTo(StringStream* stream) { 3066 void HStoreContextSlot::PrintDataTo(StringStream* stream) {
3061 context()->PrintNameTo(stream); 3067 context()->PrintNameTo(stream);
3062 stream->Add("[%d] = ", slot_index()); 3068 stream->Add("[%d] = ", slot_index());
3063 value()->PrintNameTo(stream); 3069 value()->PrintNameTo(stream);
(...skipping 916 matching lines...) Expand 10 before | Expand all | Expand 10 after
3980 case kBackingStore: 3986 case kBackingStore:
3981 if (!name_.is_null()) stream->Add(*String::cast(*name_)->ToCString()); 3987 if (!name_.is_null()) stream->Add(*String::cast(*name_)->ToCString());
3982 stream->Add("[backing-store]"); 3988 stream->Add("[backing-store]");
3983 break; 3989 break;
3984 } 3990 }
3985 3991
3986 stream->Add("@%d", offset()); 3992 stream->Add("@%d", offset());
3987 } 3993 }
3988 3994
3989 } } // namespace v8::internal 3995 } } // 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