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

Side by Side Diff: src/assembler.cc

Issue 23480031: Enable preaging of code objects when --optimize-for-size. (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: bool -> enum Created 7 years, 2 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/assembler.h ('k') | src/builtins.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 1070 matching lines...) Expand 10 before | Expand all | Expand 10 after
1081 } 1081 }
1082 1082
1083 1083
1084 ExternalReference ExternalReference::get_make_code_young_function( 1084 ExternalReference ExternalReference::get_make_code_young_function(
1085 Isolate* isolate) { 1085 Isolate* isolate) {
1086 return ExternalReference(Redirect( 1086 return ExternalReference(Redirect(
1087 isolate, FUNCTION_ADDR(Code::MakeCodeAgeSequenceYoung))); 1087 isolate, FUNCTION_ADDR(Code::MakeCodeAgeSequenceYoung)));
1088 } 1088 }
1089 1089
1090 1090
1091 ExternalReference ExternalReference::get_mark_code_as_executed_function(
1092 Isolate* isolate) {
1093 return ExternalReference(Redirect(
1094 isolate, FUNCTION_ADDR(Code::MarkCodeAsExecuted)));
1095 }
1096
1097
1091 ExternalReference ExternalReference::date_cache_stamp(Isolate* isolate) { 1098 ExternalReference ExternalReference::date_cache_stamp(Isolate* isolate) {
1092 return ExternalReference(isolate->date_cache()->stamp_address()); 1099 return ExternalReference(isolate->date_cache()->stamp_address());
1093 } 1100 }
1094 1101
1095 1102
1096 ExternalReference ExternalReference::stress_deopt_count(Isolate* isolate) { 1103 ExternalReference ExternalReference::stress_deopt_count(Isolate* isolate) {
1097 return ExternalReference(isolate->stress_deopt_count_address()); 1104 return ExternalReference(isolate->stress_deopt_count_address());
1098 } 1105 }
1099 1106
1100 1107
(...skipping 610 matching lines...) Expand 10 before | Expand all | Expand 10 after
1711 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); 1718 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position);
1712 state_.written_position = state_.current_position; 1719 state_.written_position = state_.current_position;
1713 written = true; 1720 written = true;
1714 } 1721 }
1715 1722
1716 // Return whether something was written. 1723 // Return whether something was written.
1717 return written; 1724 return written;
1718 } 1725 }
1719 1726
1720 } } // namespace v8::internal 1727 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/assembler.h ('k') | src/builtins.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698