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

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: Rebase and add MIPS support 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
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 1067 matching lines...) Expand 10 before | Expand all | Expand 10 after
1078 } 1078 }
1079 1079
1080 1080
1081 ExternalReference ExternalReference::get_make_code_young_function( 1081 ExternalReference ExternalReference::get_make_code_young_function(
1082 Isolate* isolate) { 1082 Isolate* isolate) {
1083 return ExternalReference(Redirect( 1083 return ExternalReference(Redirect(
1084 isolate, FUNCTION_ADDR(Code::MakeCodeAgeSequenceYoung))); 1084 isolate, FUNCTION_ADDR(Code::MakeCodeAgeSequenceYoung)));
1085 } 1085 }
1086 1086
1087 1087
1088 ExternalReference ExternalReference::get_mark_code_as_executed_function(
1089 Isolate* isolate) {
1090 return ExternalReference(Redirect(
1091 isolate, FUNCTION_ADDR(Code::MarkCodeAsExecuted)));
1092 }
1093
1094
1088 ExternalReference ExternalReference::date_cache_stamp(Isolate* isolate) { 1095 ExternalReference ExternalReference::date_cache_stamp(Isolate* isolate) {
1089 return ExternalReference(isolate->date_cache()->stamp_address()); 1096 return ExternalReference(isolate->date_cache()->stamp_address());
1090 } 1097 }
1091 1098
1092 1099
1093 ExternalReference ExternalReference::stress_deopt_count(Isolate* isolate) { 1100 ExternalReference ExternalReference::stress_deopt_count(Isolate* isolate) {
1094 return ExternalReference(isolate->stress_deopt_count_address()); 1101 return ExternalReference(isolate->stress_deopt_count_address());
1095 } 1102 }
1096 1103
1097 1104
(...skipping 604 matching lines...) Expand 10 before | Expand all | Expand 10 after
1702 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); 1709 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position);
1703 state_.written_position = state_.current_position; 1710 state_.written_position = state_.current_position;
1704 written = true; 1711 written = true;
1705 } 1712 }
1706 1713
1707 // Return whether something was written. 1714 // Return whether something was written.
1708 return written; 1715 return written;
1709 } 1716 }
1710 1717
1711 } } // namespace v8::internal 1718 } } // namespace v8::internal
OLDNEW
« src/arm/full-codegen-arm.cc ('K') | « src/assembler.h ('k') | src/builtins.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698