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

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

Issue 1663613002: Dart_SetReturnValue now accepts and propagates error handles. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: code review Created 4 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
« no previous file with comments | « runtime/vm/native_entry.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) 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_RAW_OBJECT_H_ 5 #ifndef VM_RAW_OBJECT_H_
6 #define VM_RAW_OBJECT_H_ 6 #define VM_RAW_OBJECT_H_
7 7
8 #include "platform/assert.h" 8 #include "platform/assert.h"
9 #include "vm/atomic.h" 9 #include "vm/atomic.h"
10 #include "vm/globals.h" 10 #include "vm/globals.h"
(...skipping 619 matching lines...) Expand 10 before | Expand all | Expand 10 after
630 friend class InstructionsWriter; 630 friend class InstructionsWriter;
631 friend class SnapshotReader; 631 friend class SnapshotReader;
632 friend class SnapshotWriter; 632 friend class SnapshotWriter;
633 friend class String; 633 friend class String;
634 friend class TypedData; 634 friend class TypedData;
635 friend class TypedDataView; 635 friend class TypedDataView;
636 friend class WeakProperty; // StorePointer 636 friend class WeakProperty; // StorePointer
637 friend class Instance; // StorePointer 637 friend class Instance; // StorePointer
638 friend class StackFrame; // GetCodeObject assertion. 638 friend class StackFrame; // GetCodeObject assertion.
639 friend class CodeLookupTableBuilder; // profiler 639 friend class CodeLookupTableBuilder; // profiler
640 friend class NativeEntry; // GetClassId
640 641
641 DISALLOW_ALLOCATION(); 642 DISALLOW_ALLOCATION();
642 DISALLOW_IMPLICIT_CONSTRUCTORS(RawObject); 643 DISALLOW_IMPLICIT_CONSTRUCTORS(RawObject);
643 }; 644 };
644 645
645 646
646 class RawClass : public RawObject { 647 class RawClass : public RawObject {
647 public: 648 public:
648 enum ClassFinalizedState { 649 enum ClassFinalizedState {
649 kAllocated = 0, // Initial state. 650 kAllocated = 0, // Initial state.
(...skipping 1685 matching lines...) Expand 10 before | Expand all | Expand 10 after
2335 COMPILE_ASSERT(kExternalTypedDataInt8ArrayCid == 2336 COMPILE_ASSERT(kExternalTypedDataInt8ArrayCid ==
2336 kTypedDataInt8ArrayViewCid + 15); 2337 kTypedDataInt8ArrayViewCid + 15);
2337 COMPILE_ASSERT(kByteBufferCid == kExternalTypedDataInt8ArrayCid + 14); 2338 COMPILE_ASSERT(kByteBufferCid == kExternalTypedDataInt8ArrayCid + 14);
2338 COMPILE_ASSERT(kNullCid == kByteBufferCid + 1); 2339 COMPILE_ASSERT(kNullCid == kByteBufferCid + 1);
2339 return (kNullCid - kTypedDataInt8ArrayCid); 2340 return (kNullCid - kTypedDataInt8ArrayCid);
2340 } 2341 }
2341 2342
2342 } // namespace dart 2343 } // namespace dart
2343 2344
2344 #endif // VM_RAW_OBJECT_H_ 2345 #endif // VM_RAW_OBJECT_H_
OLDNEW
« no previous file with comments | « runtime/vm/native_entry.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698