0bc684a794
R=jochen@chromium.org Review URL: https://codereview.chromium.org/198253004 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20062 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
22 lines
507 B
C++
22 lines
507 B
C++
// Copyright 2014 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 "assert-scope.h"
|
|
#include "v8.h"
|
|
|
|
namespace v8 {
|
|
namespace internal {
|
|
|
|
uint32_t PerIsolateAssertBase::GetData(Isolate* isolate) {
|
|
return isolate->per_isolate_assert_data();
|
|
}
|
|
|
|
|
|
void PerIsolateAssertBase::SetData(Isolate* isolate, uint32_t data) {
|
|
isolate->set_per_isolate_assert_data(data);
|
|
}
|
|
|
|
} } // namespace v8::internal
|