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

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

Issue 125943002: Use constants from the frame at OSR entry. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 11 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/vm/intermediate_language.cc ('k') | no next file » | 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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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_VISITOR_H_ 5 #ifndef VM_VISITOR_H_
6 #define VM_VISITOR_H_ 6 #define VM_VISITOR_H_
7 7
8 #include "vm/globals.h" 8 #include "vm/globals.h"
9 #include "vm/growable_array.h" 9 #include "vm/growable_array.h"
10 10
(...skipping 17 matching lines...) Expand all
28 virtual bool visit_function_code() const { return true; } 28 virtual bool visit_function_code() const { return true; }
29 virtual GrowableArray<RawFunction*>* skipped_code_functions() { 29 virtual GrowableArray<RawFunction*>* skipped_code_functions() {
30 return NULL; 30 return NULL;
31 } 31 }
32 32
33 // len argument is the number of pointers to visit starting from 'p'. 33 // len argument is the number of pointers to visit starting from 'p'.
34 void VisitPointers(RawObject** p, intptr_t len) { 34 void VisitPointers(RawObject** p, intptr_t len) {
35 VisitPointers(p, (p + len - 1)); 35 VisitPointers(p, (p + len - 1));
36 } 36 }
37 37
38 void VisitPointer(RawObject** p) { VisitPointers(p , p); } 38 void VisitPointer(RawObject** p) { VisitPointers(p, p); }
39 39
40 private: 40 private:
41 Isolate* isolate_; 41 Isolate* isolate_;
42 42
43 DISALLOW_IMPLICIT_CONSTRUCTORS(ObjectPointerVisitor); 43 DISALLOW_IMPLICIT_CONSTRUCTORS(ObjectPointerVisitor);
44 }; 44 };
45 45
46 46
47 // An object visitor interface. 47 // An object visitor interface.
48 class ObjectVisitor { 48 class ObjectVisitor {
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 81
82 private: 82 private:
83 Isolate* isolate_; 83 Isolate* isolate_;
84 84
85 DISALLOW_IMPLICIT_CONSTRUCTORS(FindObjectVisitor); 85 DISALLOW_IMPLICIT_CONSTRUCTORS(FindObjectVisitor);
86 }; 86 };
87 87
88 } // namespace dart 88 } // namespace dart
89 89
90 #endif // VM_VISITOR_H_ 90 #endif // VM_VISITOR_H_
OLDNEW
« no previous file with comments | « runtime/vm/intermediate_language.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698