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

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

Issue 2850783002: Dart SDK Spelling b, c, and d. (Closed)
Patch Set: Created 3 years, 7 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/vm/mirrors_api_impl.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 RUNTIME_VM_OBJECT_H_ 5 #ifndef RUNTIME_VM_OBJECT_H_
6 #define RUNTIME_VM_OBJECT_H_ 6 #define RUNTIME_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 4588 matching lines...) Expand 10 before | Expand all | Expand 10 after
4599 void set_handled_types_data(const Array& value) const; 4599 void set_handled_types_data(const Array& value) const;
4600 4600
4601 FINAL_HEAP_OBJECT_IMPLEMENTATION(ExceptionHandlers, Object); 4601 FINAL_HEAP_OBJECT_IMPLEMENTATION(ExceptionHandlers, Object);
4602 friend class Class; 4602 friend class Class;
4603 friend class Object; 4603 friend class Object;
4604 }; 4604 };
4605 4605
4606 4606
4607 // Holds deopt information at one deoptimization point. The information consists 4607 // Holds deopt information at one deoptimization point. The information consists
4608 // of two parts: 4608 // of two parts:
4609 // - first a prefix consiting of kMaterializeObject instructions describing 4609 // - first a prefix consisting of kMaterializeObject instructions describing
4610 // objects which had their allocation removed as part of AllocationSinking 4610 // objects which had their allocation removed as part of AllocationSinking
4611 // pass and have to be materialized; 4611 // pass and have to be materialized;
4612 // - followed by a list of DeoptInstr objects, specifying transformation 4612 // - followed by a list of DeoptInstr objects, specifying transformation
4613 // information for each slot in unoptimized frame(s). 4613 // information for each slot in unoptimized frame(s).
4614 // Arguments for object materialization (class of instance to be allocated and 4614 // Arguments for object materialization (class of instance to be allocated and
4615 // field-value pairs) are added as artificial slots to the expression stack 4615 // field-value pairs) are added as artificial slots to the expression stack
4616 // of the bottom-most frame. They are removed from the stack at the very end 4616 // of the bottom-most frame. They are removed from the stack at the very end
4617 // of deoptimization by the deoptimization stub. 4617 // of deoptimization by the deoptimization stub.
4618 class DeoptInfo : public AllStatic { 4618 class DeoptInfo : public AllStatic {
4619 public: 4619 public:
(...skipping 4386 matching lines...) Expand 10 before | Expand all | Expand 10 after
9006 9006
9007 inline void TypeArguments::SetHash(intptr_t value) const { 9007 inline void TypeArguments::SetHash(intptr_t value) const {
9008 // This is only safe because we create a new Smi, which does not cause 9008 // This is only safe because we create a new Smi, which does not cause
9009 // heap allocation. 9009 // heap allocation.
9010 StoreSmi(&raw_ptr()->hash_, Smi::New(value)); 9010 StoreSmi(&raw_ptr()->hash_, Smi::New(value));
9011 } 9011 }
9012 9012
9013 } // namespace dart 9013 } // namespace dart
9014 9014
9015 #endif // RUNTIME_VM_OBJECT_H_ 9015 #endif // RUNTIME_VM_OBJECT_H_
OLDNEW
« no previous file with comments | « runtime/vm/mirrors_api_impl.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698