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

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

Issue 40153003: AllocationProfiler: Inital version of RecordObjectAllocation for hydrogen. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: mips, ia32 and arm platforms were added Created 7 years, 1 month 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 1518 matching lines...) Expand 10 before | Expand all | Expand 10 after
1529 } 1529 }
1530 1530
1531 1531
1532 void HCallStub::PrintDataTo(StringStream* stream) { 1532 void HCallStub::PrintDataTo(StringStream* stream) {
1533 stream->Add("%s ", 1533 stream->Add("%s ",
1534 CodeStub::MajorName(major_key_, false)); 1534 CodeStub::MajorName(major_key_, false));
1535 HUnaryCall::PrintDataTo(stream); 1535 HUnaryCall::PrintDataTo(stream);
1536 } 1536 }
1537 1537
1538 1538
1539 void HCallExternal::PrintDataTo(StringStream* stream) {
1540 // stream->Add("%p ", external_function_.address());
1541 HCall<0>::PrintDataTo(stream);
1542 }
1543
1544
1539 void HUnknownOSRValue::PrintDataTo(StringStream *stream) { 1545 void HUnknownOSRValue::PrintDataTo(StringStream *stream) {
1540 const char* type = "expression"; 1546 const char* type = "expression";
1541 if (environment_->is_local_index(index_)) type = "local"; 1547 if (environment_->is_local_index(index_)) type = "local";
1542 if (environment_->is_special_index(index_)) type = "special"; 1548 if (environment_->is_special_index(index_)) type = "special";
1543 if (environment_->is_parameter_index(index_)) type = "parameter"; 1549 if (environment_->is_parameter_index(index_)) type = "parameter";
1544 stream->Add("%s @ %d", type, index_); 1550 stream->Add("%s @ %d", type, index_);
1545 } 1551 }
1546 1552
1547 1553
1548 void HInstanceOf::PrintDataTo(StringStream* stream) { 1554 void HInstanceOf::PrintDataTo(StringStream* stream) {
(...skipping 2742 matching lines...) Expand 10 before | Expand all | Expand 10 after
4291 break; 4297 break;
4292 case kExternalMemory: 4298 case kExternalMemory:
4293 stream->Add("[external-memory]"); 4299 stream->Add("[external-memory]");
4294 break; 4300 break;
4295 } 4301 }
4296 4302
4297 stream->Add("@%d", offset()); 4303 stream->Add("@%d", offset());
4298 } 4304 }
4299 4305
4300 } } // namespace v8::internal 4306 } } // 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