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

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

Issue 241993004: Mark private functions in dart:* that are native or constructors is not visible (omitted from stack… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 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
« no previous file with comments | « runtime/lib/mirrors.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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_OBJECT_H_ 5 #ifndef VM_OBJECT_H_
6 #define VM_OBJECT_H_ 6 #define VM_OBJECT_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 "platform/utils.h" 10 #include "platform/utils.h"
(...skipping 2621 matching lines...) Expand 10 before | Expand all | Expand 10 after
2632 2632
2633 void Register() const; 2633 void Register() const;
2634 2634
2635 bool IsDebuggable() const { 2635 bool IsDebuggable() const {
2636 return raw_ptr()->debuggable_; 2636 return raw_ptr()->debuggable_;
2637 } 2637 }
2638 void set_debuggable(bool value) const { 2638 void set_debuggable(bool value) const {
2639 raw_ptr()->debuggable_ = value; 2639 raw_ptr()->debuggable_ = value;
2640 } 2640 }
2641 2641
2642 bool is_dart_scheme() const {
2643 return raw_ptr()->is_dart_scheme_;
2644 }
2645 void set_is_dart_scheme(bool value) const {
2646 raw_ptr()->is_dart_scheme_ = value;
2647 }
2648
2642 bool IsCoreLibrary() const { 2649 bool IsCoreLibrary() const {
2643 return raw() == CoreLibrary(); 2650 return raw() == CoreLibrary();
2644 } 2651 }
2645 2652
2646 static RawLibrary* LookupLibrary(const String& url); 2653 static RawLibrary* LookupLibrary(const String& url);
2647 static RawLibrary* GetLibrary(intptr_t index); 2654 static RawLibrary* GetLibrary(intptr_t index);
2648 2655
2649 static void InitCoreLibrary(Isolate* isolate); 2656 static void InitCoreLibrary(Isolate* isolate);
2650 static void InitNativeWrappersLibrary(Isolate* isolate); 2657 static void InitNativeWrappersLibrary(Isolate* isolate);
2651 2658
(...skipping 4183 matching lines...) Expand 10 before | Expand all | Expand 10 after
6835 6842
6836 6843
6837 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, 6844 RawObject* MegamorphicCache::GetTargetFunction(const Array& array,
6838 intptr_t index) { 6845 intptr_t index) {
6839 return array.At((index * kEntryLength) + kTargetFunctionIndex); 6846 return array.At((index * kEntryLength) + kTargetFunctionIndex);
6840 } 6847 }
6841 6848
6842 } // namespace dart 6849 } // namespace dart
6843 6850
6844 #endif // VM_OBJECT_H_ 6851 #endif // VM_OBJECT_H_
OLDNEW
« no previous file with comments | « runtime/lib/mirrors.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698