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

Side by Side Diff: src/assembler.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/arm/lithium-codegen-arm.cc ('k') | src/code-stubs.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 (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 1328 matching lines...) Expand 10 before | Expand all | Expand 10 after
1339 1339
1340 ExternalReference ExternalReference::address_of_the_hole_nan() { 1340 ExternalReference ExternalReference::address_of_the_hole_nan() {
1341 return ExternalReference( 1341 return ExternalReference(
1342 reinterpret_cast<void*>(&double_constants.the_hole_nan)); 1342 reinterpret_cast<void*>(&double_constants.the_hole_nan));
1343 } 1343 }
1344 1344
1345 1345
1346 ExternalReference ExternalReference::record_object_allocation_function( 1346 ExternalReference ExternalReference::record_object_allocation_function(
1347 Isolate* isolate) { 1347 Isolate* isolate) {
1348 return ExternalReference( 1348 return ExternalReference(
1349 Redirect(isolate, 1349 Redirect(isolate, FUNCTION_ADDR(HeapProfiler_RecordObjectAllocation)));
1350 FUNCTION_ADDR(HeapProfiler::RecordObjectAllocationFromMasm)));
1351 } 1350 }
1352 1351
1353 1352
1354 ExternalReference ExternalReference::address_of_uint32_bias() { 1353 ExternalReference ExternalReference::address_of_uint32_bias() {
1355 return ExternalReference( 1354 return ExternalReference(
1356 reinterpret_cast<void*>(&double_constants.uint32_bias)); 1355 reinterpret_cast<void*>(&double_constants.uint32_bias));
1357 } 1356 }
1358 1357
1359 1358
1360 #ifndef V8_INTERPRETED_REGEXP 1359 #ifndef V8_INTERPRETED_REGEXP
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after
1718 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); 1717 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position);
1719 state_.written_position = state_.current_position; 1718 state_.written_position = state_.current_position;
1720 written = true; 1719 written = true;
1721 } 1720 }
1722 1721
1723 // Return whether something was written. 1722 // Return whether something was written.
1724 return written; 1723 return written;
1725 } 1724 }
1726 1725
1727 } } // namespace v8::internal 1726 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/code-stubs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698