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

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

Issue 1316123004: Improve display of simd vector types and stack traces in Observatory. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: code review Created 5 years, 3 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
« no previous file with comments | « runtime/observatory/tests/ui/inspector.dart ('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 7626 matching lines...) Expand 10 before | Expand all | Expand 10 after
7637 void SetPcOffsetAtFrame(intptr_t frame_index, const Smi& pc_offset) const; 7637 void SetPcOffsetAtFrame(intptr_t frame_index, const Smi& pc_offset) const;
7638 void set_expand_inlined(bool value) const; 7638 void set_expand_inlined(bool value) const;
7639 7639
7640 static intptr_t InstanceSize() { 7640 static intptr_t InstanceSize() {
7641 return RoundedAllocationSize(sizeof(RawStacktrace)); 7641 return RoundedAllocationSize(sizeof(RawStacktrace));
7642 } 7642 }
7643 static RawStacktrace* New(const Array& code_array, 7643 static RawStacktrace* New(const Array& code_array,
7644 const Array& pc_offset_array, 7644 const Array& pc_offset_array,
7645 Heap::Space space = Heap::kNew); 7645 Heap::Space space = Heap::kNew);
7646 7646
7647 RawString* FullStacktrace() const;
7648
7649 // The argument 'max_frames' limits the number of printed frames. 7647 // The argument 'max_frames' limits the number of printed frames.
7650 const char* ToCStringInternal(intptr_t* frame_index, 7648 const char* ToCStringInternal(intptr_t* frame_index,
7651 intptr_t max_frames = kMaxInt32) const; 7649 intptr_t max_frames = kMaxInt32) const;
7652 7650
7653 private: 7651 private:
7654 void set_code_array(const Array& code_array) const; 7652 void set_code_array(const Array& code_array) const;
7655 void set_pc_offset_array(const Array& pc_offset_array) const; 7653 void set_pc_offset_array(const Array& pc_offset_array) const;
7656 bool expand_inlined() const; 7654 bool expand_inlined() const;
7657 7655
7658 FINAL_HEAP_OBJECT_IMPLEMENTATION(Stacktrace, Instance); 7656 FINAL_HEAP_OBJECT_IMPLEMENTATION(Stacktrace, Instance);
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
8037 8035
8038 8036
8039 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, 8037 RawObject* MegamorphicCache::GetTargetFunction(const Array& array,
8040 intptr_t index) { 8038 intptr_t index) {
8041 return array.At((index * kEntryLength) + kTargetFunctionIndex); 8039 return array.At((index * kEntryLength) + kTargetFunctionIndex);
8042 } 8040 }
8043 8041
8044 } // namespace dart 8042 } // namespace dart
8045 8043
8046 #endif // VM_OBJECT_H_ 8044 #endif // VM_OBJECT_H_
OLDNEW
« no previous file with comments | « runtime/observatory/tests/ui/inspector.dart ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698