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

Side by Side Diff: src/assembler.cc

Issue 1647123002: Write barrier for storing a code entry, and usage in CompileLazy builtin. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 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
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 1053 matching lines...) Expand 10 before | Expand all | Expand 10 after
1064 : address_(table_ref.address()) {} 1064 : address_(table_ref.address()) {}
1065 1065
1066 1066
1067 ExternalReference ExternalReference:: 1067 ExternalReference ExternalReference::
1068 incremental_marking_record_write_function(Isolate* isolate) { 1068 incremental_marking_record_write_function(Isolate* isolate) {
1069 return ExternalReference(Redirect( 1069 return ExternalReference(Redirect(
1070 isolate, 1070 isolate,
1071 FUNCTION_ADDR(IncrementalMarking::RecordWriteFromCode))); 1071 FUNCTION_ADDR(IncrementalMarking::RecordWriteFromCode)));
1072 } 1072 }
1073 1073
1074 ExternalReference
1075 ExternalReference::incremental_marking_record_write_code_entry_function(
1076 Isolate* isolate) {
1077 return ExternalReference(Redirect(
1078 isolate,
1079 FUNCTION_ADDR(IncrementalMarking::RecordWriteOfCodeEntryFromCode)));
1080 }
1074 1081
1075 ExternalReference ExternalReference:: 1082 ExternalReference ExternalReference::store_buffer_overflow_function(
1076 store_buffer_overflow_function(Isolate* isolate) { 1083 Isolate* isolate) {
1077 return ExternalReference(Redirect( 1084 return ExternalReference(Redirect(
1078 isolate, 1085 isolate,
1079 FUNCTION_ADDR(StoreBuffer::StoreBufferOverflow))); 1086 FUNCTION_ADDR(StoreBuffer::StoreBufferOverflow)));
1080 } 1087 }
1081 1088
1082 1089
1083 ExternalReference ExternalReference::delete_handle_scope_extensions( 1090 ExternalReference ExternalReference::delete_handle_scope_extensions(
1084 Isolate* isolate) { 1091 Isolate* isolate) {
1085 return ExternalReference(Redirect( 1092 return ExternalReference(Redirect(
1086 isolate, 1093 isolate,
(...skipping 778 matching lines...) Expand 10 before | Expand all | Expand 10 after
1865 1872
1866 1873
1867 void Assembler::DataAlign(int m) { 1874 void Assembler::DataAlign(int m) {
1868 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); 1875 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m));
1869 while ((pc_offset() & (m - 1)) != 0) { 1876 while ((pc_offset() & (m - 1)) != 0) {
1870 db(0); 1877 db(0);
1871 } 1878 }
1872 } 1879 }
1873 } // namespace internal 1880 } // namespace internal
1874 } // namespace v8 1881 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698