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

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: Just the macro instruction. 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 1054 matching lines...) Expand 10 before | Expand all | Expand 10 after
1065 : address_(table_ref.address()) {} 1065 : address_(table_ref.address()) {}
1066 1066
1067 1067
1068 ExternalReference ExternalReference:: 1068 ExternalReference ExternalReference::
1069 incremental_marking_record_write_function(Isolate* isolate) { 1069 incremental_marking_record_write_function(Isolate* isolate) {
1070 return ExternalReference(Redirect( 1070 return ExternalReference(Redirect(
1071 isolate, 1071 isolate,
1072 FUNCTION_ADDR(IncrementalMarking::RecordWriteFromCode))); 1072 FUNCTION_ADDR(IncrementalMarking::RecordWriteFromCode)));
1073 } 1073 }
1074 1074
1075 ExternalReference
1076 ExternalReference::incremental_marking_record_write_code_entry_function(
1077 Isolate* isolate) {
1078 return ExternalReference(Redirect(
1079 isolate,
1080 FUNCTION_ADDR(IncrementalMarking::RecordWriteOfCodeEntryFromCode)));
1081 }
1075 1082
1076 ExternalReference ExternalReference:: 1083 ExternalReference ExternalReference::store_buffer_overflow_function(
1077 store_buffer_overflow_function(Isolate* isolate) { 1084 Isolate* isolate) {
1078 return ExternalReference(Redirect( 1085 return ExternalReference(Redirect(
1079 isolate, 1086 isolate,
1080 FUNCTION_ADDR(StoreBuffer::StoreBufferOverflow))); 1087 FUNCTION_ADDR(StoreBuffer::StoreBufferOverflow)));
1081 } 1088 }
1082 1089
1083 1090
1084 ExternalReference ExternalReference::delete_handle_scope_extensions( 1091 ExternalReference ExternalReference::delete_handle_scope_extensions(
1085 Isolate* isolate) { 1092 Isolate* isolate) {
1086 return ExternalReference(Redirect( 1093 return ExternalReference(Redirect(
1087 isolate, 1094 isolate,
(...skipping 839 matching lines...) Expand 10 before | Expand all | Expand 10 after
1927 1934
1928 1935
1929 void Assembler::DataAlign(int m) { 1936 void Assembler::DataAlign(int m) {
1930 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); 1937 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m));
1931 while ((pc_offset() & (m - 1)) != 0) { 1938 while ((pc_offset() & (m - 1)) != 0) {
1932 db(0); 1939 db(0);
1933 } 1940 }
1934 } 1941 }
1935 } // namespace internal 1942 } // namespace internal
1936 } // namespace v8 1943 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698