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

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

Issue 2572563004: Improve the casing of Stackmap and Stacktrace. (Closed)
Patch Set: Build fixes Created 4 years 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/vm/object_service.cc ('k') | runtime/vm/object_store.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 RUNTIME_VM_OBJECT_STORE_H_ 5 #ifndef RUNTIME_VM_OBJECT_STORE_H_
6 #define RUNTIME_VM_OBJECT_STORE_H_ 6 #define RUNTIME_VM_OBJECT_STORE_H_
7 7
8 #include "vm/object.h" 8 #include "vm/object.h"
9 9
10 namespace dart { 10 namespace dart {
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 out_of_memory_ = value.raw(); 354 out_of_memory_ = value.raw();
355 } 355 }
356 356
357 RawUnhandledException* preallocated_unhandled_exception() const { 357 RawUnhandledException* preallocated_unhandled_exception() const {
358 return preallocated_unhandled_exception_; 358 return preallocated_unhandled_exception_;
359 } 359 }
360 void set_preallocated_unhandled_exception(const UnhandledException& value) { 360 void set_preallocated_unhandled_exception(const UnhandledException& value) {
361 preallocated_unhandled_exception_ = value.raw(); 361 preallocated_unhandled_exception_ = value.raw();
362 } 362 }
363 363
364 RawStacktrace* preallocated_stack_trace() const { 364 RawStackTrace* preallocated_stack_trace() const {
365 return preallocated_stack_trace_; 365 return preallocated_stack_trace_;
366 } 366 }
367 void set_preallocated_stack_trace(const Stacktrace& value) { 367 void set_preallocated_stack_trace(const StackTrace& value) {
368 preallocated_stack_trace_ = value.raw(); 368 preallocated_stack_trace_ = value.raw();
369 } 369 }
370 370
371 RawFunction* lookup_port_handler() const { return lookup_port_handler_; } 371 RawFunction* lookup_port_handler() const { return lookup_port_handler_; }
372 void set_lookup_port_handler(const Function& function) { 372 void set_lookup_port_handler(const Function& function) {
373 lookup_port_handler_ = function.raw(); 373 lookup_port_handler_ = function.raw();
374 } 374 }
375 375
376 RawTypedData* empty_uint32_array() const { return empty_uint32_array_; } 376 RawTypedData* empty_uint32_array() const { return empty_uint32_array_; }
377 void set_empty_uint32_array(const TypedData& array) { 377 void set_empty_uint32_array(const TypedData& array) {
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
526 V(RawGrowableObjectArray*, closure_functions_) \ 526 V(RawGrowableObjectArray*, closure_functions_) \
527 V(RawGrowableObjectArray*, pending_classes_) \ 527 V(RawGrowableObjectArray*, pending_classes_) \
528 V(RawGrowableObjectArray*, pending_deferred_loads_) \ 528 V(RawGrowableObjectArray*, pending_deferred_loads_) \
529 V(RawGrowableObjectArray*, resume_capabilities_) \ 529 V(RawGrowableObjectArray*, resume_capabilities_) \
530 V(RawGrowableObjectArray*, exit_listeners_) \ 530 V(RawGrowableObjectArray*, exit_listeners_) \
531 V(RawGrowableObjectArray*, error_listeners_) \ 531 V(RawGrowableObjectArray*, error_listeners_) \
532 V(RawContext*, empty_context_) \ 532 V(RawContext*, empty_context_) \
533 V(RawInstance*, stack_overflow_) \ 533 V(RawInstance*, stack_overflow_) \
534 V(RawInstance*, out_of_memory_) \ 534 V(RawInstance*, out_of_memory_) \
535 V(RawUnhandledException*, preallocated_unhandled_exception_) \ 535 V(RawUnhandledException*, preallocated_unhandled_exception_) \
536 V(RawStacktrace*, preallocated_stack_trace_) \ 536 V(RawStackTrace*, preallocated_stack_trace_) \
537 V(RawFunction*, lookup_port_handler_) \ 537 V(RawFunction*, lookup_port_handler_) \
538 V(RawTypedData*, empty_uint32_array_) \ 538 V(RawTypedData*, empty_uint32_array_) \
539 V(RawFunction*, handle_message_function_) \ 539 V(RawFunction*, handle_message_function_) \
540 V(RawFunction*, simple_instance_of_function_) \ 540 V(RawFunction*, simple_instance_of_function_) \
541 V(RawFunction*, simple_instance_of_true_function_) \ 541 V(RawFunction*, simple_instance_of_true_function_) \
542 V(RawFunction*, simple_instance_of_false_function_) \ 542 V(RawFunction*, simple_instance_of_false_function_) \
543 V(RawArray*, library_load_error_table_) \ 543 V(RawArray*, library_load_error_table_) \
544 V(RawArray*, unique_dynamic_targets_) \ 544 V(RawArray*, unique_dynamic_targets_) \
545 V(RawGrowableObjectArray*, token_objects_) \ 545 V(RawGrowableObjectArray*, token_objects_) \
546 V(RawArray*, token_objects_map_) \ 546 V(RawArray*, token_objects_map_) \
(...skipping 28 matching lines...) Expand all
575 575
576 friend class Serializer; 576 friend class Serializer;
577 friend class Deserializer; 577 friend class Deserializer;
578 578
579 DISALLOW_COPY_AND_ASSIGN(ObjectStore); 579 DISALLOW_COPY_AND_ASSIGN(ObjectStore);
580 }; 580 };
581 581
582 } // namespace dart 582 } // namespace dart
583 583
584 #endif // RUNTIME_VM_OBJECT_STORE_H_ 584 #endif // RUNTIME_VM_OBJECT_STORE_H_
OLDNEW
« no previous file with comments | « runtime/vm/object_service.cc ('k') | runtime/vm/object_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698