Remove leftover NoIncrementalWriteBarrier prototypes.

TBR=ulan@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true

Review URL: https://codereview.chromium.org/1464313009

Cr-Commit-Position: refs/heads/master@{#32323}
This commit is contained in:
hpayer 2015-11-26 02:21:48 -08:00 committed by Commit bot
parent ed841139df
commit c678f27e40
3 changed files with 0 additions and 26 deletions

View File

@ -2585,20 +2585,6 @@ void FixedArray::set(int index,
} }
void FixedArray::NoIncrementalWriteBarrierSet(FixedArray* array,
int index,
Object* value) {
DCHECK(array->map() != array->GetHeap()->fixed_cow_array_map());
DCHECK(index >= 0 && index < array->length());
int offset = kHeaderSize + index * kPointerSize;
WRITE_FIELD(array, offset, value);
Heap* heap = array->GetHeap();
if (heap->InNewSpace(value)) {
heap->RecordWrite(array->address(), offset);
}
}
void FixedArray::NoWriteBarrierSet(FixedArray* array, void FixedArray::NoWriteBarrierSet(FixedArray* array,
int index, int index,
Object* value) { Object* value) {

View File

@ -2657,13 +2657,6 @@ class FixedArray: public FixedArrayBase {
int index, int index,
Object* value); Object* value);
// Set operation on FixedArray without incremental write barrier. Can
// only be used if the object is guaranteed to be white (whiteness witness
// is present).
static inline void NoIncrementalWriteBarrierSet(FixedArray* array,
int index,
Object* value);
private: private:
STATIC_ASSERT(kHeaderSize == Internals::kFixedArrayHeaderSize); STATIC_ASSERT(kHeaderSize == Internals::kFixedArrayHeaderSize);

View File

@ -299,11 +299,6 @@ class TransitionArray: public FixedArray {
inline void Set(int transition_number, Name* key, Map* target); inline void Set(int transition_number, Name* key, Map* target);
// Copy a single transition from the origin array.
inline void NoIncrementalWriteBarrierCopyFrom(TransitionArray* origin,
int origin_transition,
int target_transition);
#ifdef DEBUG #ifdef DEBUG
static void CheckNewTransitionsAreConsistent(Handle<Map> map, static void CheckNewTransitionsAreConsistent(Handle<Map> map,
TransitionArray* old_transitions, TransitionArray* old_transitions,