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

Side by Side Diff: runtime/vm/stack_frame.cc

Issue 9314053: Revert Dart_PropagateError until I can track down the problems in (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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 | Annotate | Revision Log
« no previous file with comments | « runtime/vm/parser.cc ('k') | runtime/vm/unit_test.h » ('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) 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 #include "vm/stack_frame.h" 5 #include "vm/stack_frame.h"
6 6
7 #include "vm/code_index_table.h" 7 #include "vm/code_index_table.h"
8 #include "vm/isolate.h" 8 #include "vm/isolate.h"
9 #include "vm/object.h" 9 #include "vm/object.h"
10 #include "vm/object_store.h" 10 #include "vm/object_store.h"
11 #include "vm/os.h"
12 #include "vm/raw_object.h" 11 #include "vm/raw_object.h"
13 #include "vm/stub_code.h" 12 #include "vm/stub_code.h"
14 #include "vm/visitor.h" 13 #include "vm/visitor.h"
15 14
16 namespace dart { 15 namespace dart {
17 16
18 void StackFrame::Print() const { 17 void StackFrame::Print() const {
19 OS::Print("[%-8s : sp(%p) ]\n", GetName(), sp()); 18 UNIMPLEMENTED();
20 } 19 }
21 20
22 21
23 void ExitFrame::VisitObjectPointers(ObjectPointerVisitor* visitor) { 22 void ExitFrame::VisitObjectPointers(ObjectPointerVisitor* visitor) {
24 // There are no objects to visit in this frame. 23 // There are no objects to visit in this frame.
25 } 24 }
26 25
27 26
28 void EntryFrame::VisitObjectPointers(ObjectPointerVisitor* visitor) { 27 void EntryFrame::VisitObjectPointers(ObjectPointerVisitor* visitor) {
29 // Visit objects between SP and (FP - callee_save_area). 28 // Visit objects between SP and (FP - callee_save_area).
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 EntryFrame* StackFrameIterator::NextEntryFrame() { 179 EntryFrame* StackFrameIterator::NextEntryFrame() {
181 ASSERT(!frames_.HasNext()); 180 ASSERT(!frames_.HasNext());
182 entry_.sp_ = frames_.sp_; 181 entry_.sp_ = frames_.sp_;
183 entry_.fp_ = frames_.fp_; 182 entry_.fp_ = frames_.fp_;
184 SetupNextExitFrameData(); // Setup data for next exit frame in chain. 183 SetupNextExitFrameData(); // Setup data for next exit frame in chain.
185 ASSERT(entry_.IsValid()); 184 ASSERT(entry_.IsValid());
186 return &entry_; 185 return &entry_;
187 } 186 }
188 187
189 } // namespace dart 188 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/parser.cc ('k') | runtime/vm/unit_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698