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

Side by Side Diff: src/assembler.cc

Issue 185233008: Consolidate RecordWriteFromCode and RecordWriteForEvacuationFromCode. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 9 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/ia32/code-stubs-ia32.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 1011 matching lines...) Expand 10 before | Expand all | Expand 10 after
1022 1022
1023 ExternalReference ExternalReference:: 1023 ExternalReference ExternalReference::
1024 incremental_marking_record_write_function(Isolate* isolate) { 1024 incremental_marking_record_write_function(Isolate* isolate) {
1025 return ExternalReference(Redirect( 1025 return ExternalReference(Redirect(
1026 isolate, 1026 isolate,
1027 FUNCTION_ADDR(IncrementalMarking::RecordWriteFromCode))); 1027 FUNCTION_ADDR(IncrementalMarking::RecordWriteFromCode)));
1028 } 1028 }
1029 1029
1030 1030
1031 ExternalReference ExternalReference:: 1031 ExternalReference ExternalReference::
1032 incremental_evacuation_record_write_function(Isolate* isolate) {
1033 return ExternalReference(Redirect(
1034 isolate,
1035 FUNCTION_ADDR(IncrementalMarking::RecordWriteForEvacuationFromCode)));
1036 }
1037
1038
1039 ExternalReference ExternalReference::
1040 store_buffer_overflow_function(Isolate* isolate) { 1032 store_buffer_overflow_function(Isolate* isolate) {
1041 return ExternalReference(Redirect( 1033 return ExternalReference(Redirect(
1042 isolate, 1034 isolate,
1043 FUNCTION_ADDR(StoreBuffer::StoreBufferOverflow))); 1035 FUNCTION_ADDR(StoreBuffer::StoreBufferOverflow)));
1044 } 1036 }
1045 1037
1046 1038
1047 ExternalReference ExternalReference::flush_icache_function(Isolate* isolate) { 1039 ExternalReference ExternalReference::flush_icache_function(Isolate* isolate) {
1048 return ExternalReference(Redirect(isolate, FUNCTION_ADDR(CPU::FlushICache))); 1040 return ExternalReference(Redirect(isolate, FUNCTION_ADDR(CPU::FlushICache)));
1049 } 1041 }
(...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after
1595 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); 1587 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position);
1596 state_.written_position = state_.current_position; 1588 state_.written_position = state_.current_position;
1597 written = true; 1589 written = true;
1598 } 1590 }
1599 1591
1600 // Return whether something was written. 1592 // Return whether something was written.
1601 return written; 1593 return written;
1602 } 1594 }
1603 1595
1604 } } // namespace v8::internal 1596 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/assembler.h ('k') | src/ia32/code-stubs-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698