Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(447)

Side by Side Diff: src/assert-scope.cc

Issue 198253004: Introduce per-isolate assert scopes and API to guard JS execution. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: add missing file Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5
6 #include "assert-scope.h"
7 #include "v8.h"
8
9 namespace v8 {
10 namespace internal {
11
12 uint32_t PerIsolateAssertBase::GetData(Isolate* isolate) {
13 return isolate->per_isolate_assert_data();
14 }
15
16
17 void PerIsolateAssertBase::SetData(Isolate* isolate, uint32_t data) {
18 isolate->set_per_isolate_assert_data(data);
19 }
20
21 } } // namespace v8::internal
OLDNEW
« include/v8.h ('K') | « src/assert-scope.h ('k') | src/builtins.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698