blob: 960567cfa3c054c906fa1be8fad69d91d87ac478 [file] [log] [blame]
machenbach@chromium.org56971442014-03-19 13:13:40 +00001// Copyright 2014 the V8 project authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5
6#include "assert-scope.h"
7#include "v8.h"
8
9namespace v8 {
10namespace internal {
11
12uint32_t PerIsolateAssertBase::GetData(Isolate* isolate) {
13 return isolate->per_isolate_assert_data();
14}
15
16
17void PerIsolateAssertBase::SetData(Isolate* isolate, uint32_t data) {
18 isolate->set_per_isolate_assert_data(data);
19}
20
21} } // namespace v8::internal