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

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

Issue 292993003: Revert "Refactor transitioning stores." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 7 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/hydrogen-load-elimination.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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "v8.h" 5 #include "v8.h"
6 6
7 #include "double.h" 7 #include "double.h"
8 #include "factory.h" 8 #include "factory.h"
9 #include "hydrogen-infer-representation.h" 9 #include "hydrogen-infer-representation.h"
10 #include "property-details-inl.h" 10 #include "property-details-inl.h"
(...skipping 3571 matching lines...) Expand 10 before | Expand all | Expand 10 after
3582 3582
3583 3583
3584 void HStoreNamedField::PrintDataTo(StringStream* stream) { 3584 void HStoreNamedField::PrintDataTo(StringStream* stream) {
3585 object()->PrintNameTo(stream); 3585 object()->PrintNameTo(stream);
3586 access_.PrintTo(stream); 3586 access_.PrintTo(stream);
3587 stream->Add(" = "); 3587 stream->Add(" = ");
3588 value()->PrintNameTo(stream); 3588 value()->PrintNameTo(stream);
3589 if (NeedsWriteBarrier()) { 3589 if (NeedsWriteBarrier()) {
3590 stream->Add(" (write-barrier)"); 3590 stream->Add(" (write-barrier)");
3591 } 3591 }
3592 if (has_transition()) {
3593 stream->Add(" (transition map %p)", *transition_map());
3594 }
3592 } 3595 }
3593 3596
3594 3597
3595 void HStoreKeyed::PrintDataTo(StringStream* stream) { 3598 void HStoreKeyed::PrintDataTo(StringStream* stream) {
3596 if (!is_external()) { 3599 if (!is_external()) {
3597 elements()->PrintNameTo(stream); 3600 elements()->PrintNameTo(stream);
3598 } else { 3601 } else {
3599 elements()->PrintNameTo(stream); 3602 elements()->PrintNameTo(stream);
3600 stream->Add("."); 3603 stream->Add(".");
3601 stream->Add(ElementsKindToString(elements_kind())); 3604 stream->Add(ElementsKindToString(elements_kind()));
(...skipping 1179 matching lines...) Expand 10 before | Expand all | Expand 10 after
4781 break; 4784 break;
4782 case kExternalMemory: 4785 case kExternalMemory:
4783 stream->Add("[external-memory]"); 4786 stream->Add("[external-memory]");
4784 break; 4787 break;
4785 } 4788 }
4786 4789
4787 stream->Add("@%d", offset()); 4790 stream->Add("@%d", offset());
4788 } 4791 }
4789 4792
4790 } } // namespace v8::internal 4793 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/hydrogen-instructions.h ('k') | src/hydrogen-load-elimination.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698