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

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: Support transitions in LookupResult. Created 6 years, 9 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
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 3236 matching lines...) Expand 10 before | Expand all | Expand 10 after
3247 3247
3248 void HParameter::PrintDataTo(StringStream* stream) { 3248 void HParameter::PrintDataTo(StringStream* stream) {
3249 stream->Add("%u", index()); 3249 stream->Add("%u", index());
3250 } 3250 }
3251 3251
3252 3252
3253 void HLoadNamedField::PrintDataTo(StringStream* stream) { 3253 void HLoadNamedField::PrintDataTo(StringStream* stream) {
3254 object()->PrintNameTo(stream); 3254 object()->PrintNameTo(stream);
3255 access_.PrintTo(stream); 3255 access_.PrintTo(stream);
3256 3256
3257 if (!map().IsNull()) {
3258 stream->Add(" (%p)", *map().handle());
3259 }
3260
3257 if (HasDependency()) { 3261 if (HasDependency()) {
3258 stream->Add(" "); 3262 stream->Add(" ");
3259 dependency()->PrintNameTo(stream); 3263 dependency()->PrintNameTo(stream);
3260 } 3264 }
3261 } 3265 }
3262 3266
3263 3267
3264 HCheckMaps* HCheckMaps::New(Zone* zone, 3268 HCheckMaps* HCheckMaps::New(Zone* zone,
3265 HValue* context, 3269 HValue* context,
3266 HValue* value, 3270 HValue* value,
(...skipping 1312 matching lines...) Expand 10 before | Expand all | Expand 10 after
4579 break; 4583 break;
4580 case kExternalMemory: 4584 case kExternalMemory:
4581 stream->Add("[external-memory]"); 4585 stream->Add("[external-memory]");
4582 break; 4586 break;
4583 } 4587 }
4584 4588
4585 stream->Add("@%d", offset()); 4589 stream->Add("@%d", offset());
4586 } 4590 }
4587 4591
4588 } } // namespace v8::internal 4592 } } // namespace v8::internal
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698