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

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

Issue 269353003: Fix constructors for HLoadNamedField. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Deuglify code 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 3400 matching lines...) Expand 10 before | Expand all | Expand 10 after
3411 3411
3412 void HParameter::PrintDataTo(StringStream* stream) { 3412 void HParameter::PrintDataTo(StringStream* stream) {
3413 stream->Add("%u", index()); 3413 stream->Add("%u", index());
3414 } 3414 }
3415 3415
3416 3416
3417 void HLoadNamedField::PrintDataTo(StringStream* stream) { 3417 void HLoadNamedField::PrintDataTo(StringStream* stream) {
3418 object()->PrintNameTo(stream); 3418 object()->PrintNameTo(stream);
3419 access_.PrintTo(stream); 3419 access_.PrintTo(stream);
3420 3420
3421 if (maps()->size() != 0) { 3421 if (maps() != NULL) {
3422 stream->Add(" [%p", *maps()->at(0).handle()); 3422 stream->Add(" [%p", *maps()->at(0).handle());
3423 for (int i = 1; i < maps()->size(); ++i) { 3423 for (int i = 1; i < maps()->size(); ++i) {
3424 stream->Add(",%p", *maps()->at(i).handle()); 3424 stream->Add(",%p", *maps()->at(i).handle());
3425 } 3425 }
3426 stream->Add("]"); 3426 stream->Add("]");
3427 } 3427 }
3428 3428
3429 if (HasDependency()) { 3429 if (HasDependency()) {
3430 stream->Add(" "); 3430 stream->Add(" ");
3431 dependency()->PrintNameTo(stream); 3431 dependency()->PrintNameTo(stream);
(...skipping 1344 matching lines...) Expand 10 before | Expand all | Expand 10 after
4776 break; 4776 break;
4777 case kExternalMemory: 4777 case kExternalMemory:
4778 stream->Add("[external-memory]"); 4778 stream->Add("[external-memory]");
4779 break; 4779 break;
4780 } 4780 }
4781 4781
4782 stream->Add("@%d", offset()); 4782 stream->Add("@%d", offset());
4783 } 4783 }
4784 4784
4785 } } // namespace v8::internal 4785 } } // 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