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

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: <sigh> upload only the one commit... 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/assembler.h ('k') | src/builtins.h » ('j') | src/objects.h » ('J')
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 1069 matching lines...) Expand 10 before | Expand all | Expand 10 after
1080 } 1080 }
1081 1081
1082 1082
1083 ExternalReference ExternalReference::get_make_code_young_function( 1083 ExternalReference ExternalReference::get_make_code_young_function(
1084 Isolate* isolate) { 1084 Isolate* isolate) {
1085 return ExternalReference(Redirect( 1085 return ExternalReference(Redirect(
1086 isolate, FUNCTION_ADDR(Code::MakeCodeAgeSequenceYoung))); 1086 isolate, FUNCTION_ADDR(Code::MakeCodeAgeSequenceYoung)));
1087 } 1087 }
1088 1088
1089 1089
1090 ExternalReference ExternalReference::get_mark_code_as_executed_function(
1091 Isolate* isolate) {
1092 return ExternalReference(Redirect(
1093 isolate, FUNCTION_ADDR(Code::MarkCodeAsExecuted)));
1094 }
1095
1096
1090 ExternalReference ExternalReference::date_cache_stamp(Isolate* isolate) { 1097 ExternalReference ExternalReference::date_cache_stamp(Isolate* isolate) {
1091 return ExternalReference(isolate->date_cache()->stamp_address()); 1098 return ExternalReference(isolate->date_cache()->stamp_address());
1092 } 1099 }
1093 1100
1094 1101
1095 ExternalReference ExternalReference::stress_deopt_count(Isolate* isolate) { 1102 ExternalReference ExternalReference::stress_deopt_count(Isolate* isolate) {
1096 return ExternalReference(isolate->stress_deopt_count_address()); 1103 return ExternalReference(isolate->stress_deopt_count_address());
1097 } 1104 }
1098 1105
1099 1106
(...skipping 596 matching lines...) Expand 10 before | Expand all | Expand 10 after
1696 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); 1703 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position);
1697 state_.written_position = state_.current_position; 1704 state_.written_position = state_.current_position;
1698 written = true; 1705 written = true;
1699 } 1706 }
1700 1707
1701 // Return whether something was written. 1708 // Return whether something was written.
1702 return written; 1709 return written;
1703 } 1710 }
1704 1711
1705 } } // namespace v8::internal 1712 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/assembler.h ('k') | src/builtins.h » ('j') | src/objects.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698