Sha256: 75be104b0eee9103e278823db7ab65df2ba06d5b2c2a3052ab1a5b7746270a55

Contents?: true

Size: 481 Bytes

Versions: 5

Compression:

Stored size: 481 Bytes

Contents

// Copyright 2016 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "src/zone/zone-segment.h"

namespace v8 {
namespace internal {

void Segment::ZapContents() {
#ifdef DEBUG
  memset(start(), kZapDeadByte, capacity());
#endif
}

void Segment::ZapHeader() {
#ifdef DEBUG
  memset(this, kZapDeadByte, sizeof(Segment));
#endif
}

}  // namespace internal
}  // namespace v8

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
libv8-6.0.286.54.1 vendor/v8/src/zone/zone-segment.cc
libv8-6.0.286.54.0 vendor/v8/src/zone/zone-segment.cc
libv8-6.0.286.54.0beta2 vendor/v8/src/zone/zone-segment.cc
libv8-6.0.286.54.0beta1 vendor/v8/src/zone/zone-segment.cc
libv8-6.0.286.44.0beta1 vendor/v8/src/zone/zone-segment.cc