15697144afb43181fed170b81c194fe1cc0fce3b6machenbach@chromium.org// Copyright 2014 the V8 project authors. All rights reserved.
25697144afb43181fed170b81c194fe1cc0fce3b6machenbach@chromium.org// Use of this source code is governed by a BSD-style license that can be
35697144afb43181fed170b81c194fe1cc0fce3b6machenbach@chromium.org// found in the LICENSE file.
45697144afb43181fed170b81c194fe1cc0fce3b6machenbach@chromium.org
55697144afb43181fed170b81c194fe1cc0fce3b6machenbach@chromium.org
6196eb601290dc49c3754da728dc58700dff2de1bmachenbach@chromium.org#include "src/assert-scope.h"
7196eb601290dc49c3754da728dc58700dff2de1bmachenbach@chromium.org#include "src/v8.h"
85697144afb43181fed170b81c194fe1cc0fce3b6machenbach@chromium.org
95697144afb43181fed170b81c194fe1cc0fce3b6machenbach@chromium.orgnamespace v8 {
105697144afb43181fed170b81c194fe1cc0fce3b6machenbach@chromium.orgnamespace internal {
115697144afb43181fed170b81c194fe1cc0fce3b6machenbach@chromium.org
125697144afb43181fed170b81c194fe1cc0fce3b6machenbach@chromium.orguint32_t PerIsolateAssertBase::GetData(Isolate* isolate) {
135697144afb43181fed170b81c194fe1cc0fce3b6machenbach@chromium.org  return isolate->per_isolate_assert_data();
145697144afb43181fed170b81c194fe1cc0fce3b6machenbach@chromium.org}
155697144afb43181fed170b81c194fe1cc0fce3b6machenbach@chromium.org
165697144afb43181fed170b81c194fe1cc0fce3b6machenbach@chromium.org
175697144afb43181fed170b81c194fe1cc0fce3b6machenbach@chromium.orgvoid PerIsolateAssertBase::SetData(Isolate* isolate, uint32_t data) {
185697144afb43181fed170b81c194fe1cc0fce3b6machenbach@chromium.org  isolate->set_per_isolate_assert_data(data);
195697144afb43181fed170b81c194fe1cc0fce3b6machenbach@chromium.org}
205697144afb43181fed170b81c194fe1cc0fce3b6machenbach@chromium.org
215697144afb43181fed170b81c194fe1cc0fce3b6machenbach@chromium.org} }  // namespace v8::internal
22