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

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

Issue 1644793002: Replace intptr_t with TokenDescriptor (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 617 matching lines...) Expand 10 before | Expand all | Expand 10 after
628 const Instance& closure); 628 const Instance& closure);
629 RawInstance* LookupServiceExtensionHandler(const String& name); 629 RawInstance* LookupServiceExtensionHandler(const String& name);
630 630
631 static void VisitIsolates(IsolateVisitor* visitor); 631 static void VisitIsolates(IsolateVisitor* visitor);
632 632
633 // Handle service messages until we are told to resume execution. 633 // Handle service messages until we are told to resume execution.
634 void PauseEventHandler(); 634 void PauseEventHandler();
635 635
636 void AddClosureFunction(const Function& function) const; 636 void AddClosureFunction(const Function& function) const;
637 RawFunction* LookupClosureFunction(const Function& parent, 637 RawFunction* LookupClosureFunction(const Function& parent,
638 intptr_t token_pos) const; 638 TokenDescriptor token_pos) const;
639 intptr_t FindClosureIndex(const Function& needle) const; 639 intptr_t FindClosureIndex(const Function& needle) const;
640 RawFunction* ClosureFunctionFromIndex(intptr_t idx) const; 640 RawFunction* ClosureFunctionFromIndex(intptr_t idx) const;
641 641
642 bool is_service_isolate() const { return is_service_isolate_; } 642 bool is_service_isolate() const { return is_service_isolate_; }
643 643
644 static void KillAllIsolates(LibMsgId msg_id); 644 static void KillAllIsolates(LibMsgId msg_id);
645 static void KillIfExists(Isolate* isolate, LibMsgId msg_id); 645 static void KillIfExists(Isolate* isolate, LibMsgId msg_id);
646 646
647 static void DisableIsolateCreation(); 647 static void DisableIsolateCreation();
648 static void EnableIsolateCreation(); 648 static void EnableIsolateCreation();
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
991 intptr_t* spawn_count_; 991 intptr_t* spawn_count_;
992 992
993 Isolate::Flags isolate_flags_; 993 Isolate::Flags isolate_flags_;
994 bool paused_; 994 bool paused_;
995 bool errors_are_fatal_; 995 bool errors_are_fatal_;
996 }; 996 };
997 997
998 } // namespace dart 998 } // namespace dart
999 999
1000 #endif // VM_ISOLATE_H_ 1000 #endif // VM_ISOLATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698