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

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

Issue 148523011: Add dependency operand to HLoadNamedField. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix HLoadNamedField::PrintDataTo(). Created 6 years, 10 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') | no next file » | 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 3031 matching lines...) Expand 10 before | Expand all | Expand 10 after
3042 3042
3043 3043
3044 void HParameter::PrintDataTo(StringStream* stream) { 3044 void HParameter::PrintDataTo(StringStream* stream) {
3045 stream->Add("%u", index()); 3045 stream->Add("%u", index());
3046 } 3046 }
3047 3047
3048 3048
3049 void HLoadNamedField::PrintDataTo(StringStream* stream) { 3049 void HLoadNamedField::PrintDataTo(StringStream* stream) {
3050 object()->PrintNameTo(stream); 3050 object()->PrintNameTo(stream);
3051 access_.PrintTo(stream); 3051 access_.PrintTo(stream);
3052
3053 if (HasDependency()) {
3054 stream->Add(" ");
3055 dependency()->PrintNameTo(stream);
3056 }
3052 } 3057 }
3053 3058
3054 3059
3055 HCheckMaps* HCheckMaps::New(Zone* zone, 3060 HCheckMaps* HCheckMaps::New(Zone* zone,
3056 HValue* context, 3061 HValue* context,
3057 HValue* value, 3062 HValue* value,
3058 Handle<Map> map, 3063 Handle<Map> map,
3059 CompilationInfo* info, 3064 CompilationInfo* info,
3060 HValue* typecheck) { 3065 HValue* typecheck) {
3061 HCheckMaps* check_map = new(zone) HCheckMaps(value, zone, typecheck); 3066 HCheckMaps* check_map = new(zone) HCheckMaps(value, zone, typecheck);
(...skipping 1349 matching lines...) Expand 10 before | Expand all | Expand 10 after
4411 break; 4416 break;
4412 case kExternalMemory: 4417 case kExternalMemory:
4413 stream->Add("[external-memory]"); 4418 stream->Add("[external-memory]");
4414 break; 4419 break;
4415 } 4420 }
4416 4421
4417 stream->Add("@%d", offset()); 4422 stream->Add("@%d", offset());
4418 } 4423 }
4419 4424
4420 } } // namespace v8::internal 4425 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/hydrogen-instructions.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698