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

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

Issue 23530066: Lazily save double registers for HCallRuntime instructions within Hydrogen code stubs. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 3 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.h » ('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 955 matching lines...) Expand 10 before | Expand all | Expand 10 after
966 966
967 void HCallNewArray::PrintDataTo(StringStream* stream) { 967 void HCallNewArray::PrintDataTo(StringStream* stream) {
968 stream->Add(ElementsKindToString(elements_kind())); 968 stream->Add(ElementsKindToString(elements_kind()));
969 stream->Add(" "); 969 stream->Add(" ");
970 HBinaryCall::PrintDataTo(stream); 970 HBinaryCall::PrintDataTo(stream);
971 } 971 }
972 972
973 973
974 void HCallRuntime::PrintDataTo(StringStream* stream) { 974 void HCallRuntime::PrintDataTo(StringStream* stream) {
975 stream->Add("%o ", *name()); 975 stream->Add("%o ", *name());
976 if (save_doubles() == kSaveFPRegs) {
977 stream->Add("[save doubles] ");
978 }
976 stream->Add("#%d", argument_count()); 979 stream->Add("#%d", argument_count());
977 } 980 }
978 981
979 982
980 void HClassOfTestAndBranch::PrintDataTo(StringStream* stream) { 983 void HClassOfTestAndBranch::PrintDataTo(StringStream* stream) {
981 stream->Add("class_of_test("); 984 stream->Add("class_of_test(");
982 value()->PrintNameTo(stream); 985 value()->PrintNameTo(stream);
983 stream->Add(", \"%o\")", *class_name()); 986 stream->Add(", \"%o\")", *class_name());
984 } 987 }
985 988
(...skipping 3237 matching lines...) Expand 10 before | Expand all | Expand 10 after
4223 break; 4226 break;
4224 case kExternalMemory: 4227 case kExternalMemory:
4225 stream->Add("[external-memory]"); 4228 stream->Add("[external-memory]");
4226 break; 4229 break;
4227 } 4230 }
4228 4231
4229 stream->Add("@%d", offset()); 4232 stream->Add("@%d", offset());
4230 } 4233 }
4231 4234
4232 } } // namespace v8::internal 4235 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/hydrogen-instructions.h ('k') | src/ia32/lithium-codegen-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698