OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 | 5 |
6 #include "assert-scope.h" | 6 #include "src/assert-scope.h" |
7 #include "v8.h" | 7 #include "src/v8.h" |
8 | 8 |
9 namespace v8 { | 9 namespace v8 { |
10 namespace internal { | 10 namespace internal { |
11 | 11 |
12 uint32_t PerIsolateAssertBase::GetData(Isolate* isolate) { | 12 uint32_t PerIsolateAssertBase::GetData(Isolate* isolate) { |
13 return isolate->per_isolate_assert_data(); | 13 return isolate->per_isolate_assert_data(); |
14 } | 14 } |
15 | 15 |
16 | 16 |
17 void PerIsolateAssertBase::SetData(Isolate* isolate, uint32_t data) { | 17 void PerIsolateAssertBase::SetData(Isolate* isolate, uint32_t data) { |
18 isolate->set_per_isolate_assert_data(data); | 18 isolate->set_per_isolate_assert_data(data); |
19 } | 19 } |
20 | 20 |
21 } } // namespace v8::internal | 21 } } // namespace v8::internal |
OLD | NEW |