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:
parent
ed841139df
commit
c678f27e40
@ -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,
|
||||
int index,
|
||||
Object* value) {
|
||||
|
@ -2657,13 +2657,6 @@ class FixedArray: public FixedArrayBase {
|
||||
int index,
|
||||
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:
|
||||
STATIC_ASSERT(kHeaderSize == Internals::kFixedArrayHeaderSize);
|
||||
|
||||
|
@ -299,11 +299,6 @@ class TransitionArray: public FixedArray {
|
||||
|
||||
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
|
||||
static void CheckNewTransitionsAreConsistent(Handle<Map> map,
|
||||
TransitionArray* old_transitions,
|
||||
|
Loading…
Reference in New Issue
Block a user