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

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

Issue 167303005: Track field types. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments Created 6 years, 8 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 3364 matching lines...) Expand 10 before | Expand all | Expand 10 after
3375 3375
3376 void HParameter::PrintDataTo(StringStream* stream) { 3376 void HParameter::PrintDataTo(StringStream* stream) {
3377 stream->Add("%u", index()); 3377 stream->Add("%u", index());
3378 } 3378 }
3379 3379
3380 3380
3381 void HLoadNamedField::PrintDataTo(StringStream* stream) { 3381 void HLoadNamedField::PrintDataTo(StringStream* stream) {
3382 object()->PrintNameTo(stream); 3382 object()->PrintNameTo(stream);
3383 access_.PrintTo(stream); 3383 access_.PrintTo(stream);
3384 3384
3385 if (!map().IsNull()) {
3386 stream->Add(" (%p)", *map().handle());
3387 }
3388
3385 if (HasDependency()) { 3389 if (HasDependency()) {
3386 stream->Add(" "); 3390 stream->Add(" ");
3387 dependency()->PrintNameTo(stream); 3391 dependency()->PrintNameTo(stream);
3388 } 3392 }
3389 } 3393 }
3390 3394
3391 3395
3392 HCheckMaps* HCheckMaps::New(Zone* zone, 3396 HCheckMaps* HCheckMaps::New(Zone* zone,
3393 HValue* context, 3397 HValue* context,
3394 HValue* value, 3398 HValue* value,
(...skipping 1319 matching lines...) Expand 10 before | Expand all | Expand 10 after
4714 break; 4718 break;
4715 case kExternalMemory: 4719 case kExternalMemory:
4716 stream->Add("[external-memory]"); 4720 stream->Add("[external-memory]");
4717 break; 4721 break;
4718 } 4722 }
4719 4723
4720 stream->Add("@%d", offset()); 4724 stream->Add("@%d", offset());
4721 } 4725 }
4722 4726
4723 } } // namespace v8::internal 4727 } } // 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