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

Side by Side Diff: runtime/vm/isolate.h

Issue 1679363002: Tests that --fields_may_be_reset, --link_natives_lazily, and --no_allow_absolute_addresses work in … (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 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
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef VM_ISOLATE_H_ 5 #ifndef VM_ISOLATE_H_
6 #define VM_ISOLATE_H_ 6 #define VM_ISOLATE_H_
7 7
8 #include "include/dart_api.h" 8 #include "include/dart_api.h"
9 #include "platform/assert.h" 9 #include "platform/assert.h"
10 #include "vm/atomic.h" 10 #include "vm/atomic.h"
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 uword saved_stack_limit() const { return saved_stack_limit_; } 257 uword saved_stack_limit() const { return saved_stack_limit_; }
258 258
259 // Stack overflow flags 259 // Stack overflow flags
260 enum { 260 enum {
261 kOsrRequest = 0x1, // Current stack overflow caused by OSR request. 261 kOsrRequest = 0x1, // Current stack overflow caused by OSR request.
262 }; 262 };
263 263
264 uword stack_overflow_flags_address() const { 264 uword stack_overflow_flags_address() const {
265 return reinterpret_cast<uword>(&stack_overflow_flags_); 265 return reinterpret_cast<uword>(&stack_overflow_flags_);
266 } 266 }
267 static intptr_t stack_overflow_flags_offset() {
268 return OFFSET_OF(Isolate, stack_overflow_flags_);
269 }
267 270
268 int32_t IncrementAndGetStackOverflowCount() { 271 int32_t IncrementAndGetStackOverflowCount() {
269 return ++stack_overflow_count_; 272 return ++stack_overflow_count_;
270 } 273 }
271 274
272 // Retrieves and clears the stack overflow flags. These are set by 275 // Retrieves and clears the stack overflow flags. These are set by
273 // the generated code before the slow path runtime routine for a 276 // the generated code before the slow path runtime routine for a
274 // stack overflow is called. 277 // stack overflow is called.
275 uword GetAndClearStackOverflowFlags(); 278 uword GetAndClearStackOverflowFlags();
276 279
(...skipping 726 matching lines...) Expand 10 before | Expand all | Expand 10 after
1003 intptr_t* spawn_count_; 1006 intptr_t* spawn_count_;
1004 1007
1005 Isolate::Flags isolate_flags_; 1008 Isolate::Flags isolate_flags_;
1006 bool paused_; 1009 bool paused_;
1007 bool errors_are_fatal_; 1010 bool errors_are_fatal_;
1008 }; 1011 };
1009 1012
1010 } // namespace dart 1013 } // namespace dart
1011 1014
1012 #endif // VM_ISOLATE_H_ 1015 #endif // VM_ISOLATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698