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

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

Issue 14012005: Implement rethrow statement (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 8 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/intrinsifier.h ('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 1570 matching lines...) Expand 10 before | Expand all | Expand 10 after
1581 1581
1582 // Allocate new function object, clone values from this function. The 1582 // Allocate new function object, clone values from this function. The
1583 // owner of the clone is new_owner. 1583 // owner of the clone is new_owner.
1584 RawFunction* Clone(const Class& new_owner) const; 1584 RawFunction* Clone(const Class& new_owner) const;
1585 1585
1586 // Slow function, use in asserts to track changes in important library 1586 // Slow function, use in asserts to track changes in important library
1587 // functions. 1587 // functions.
1588 int32_t SourceFingerprint() const; 1588 int32_t SourceFingerprint() const;
1589 1589
1590 // Return false and report an error if the fingerprint does not match. 1590 // Return false and report an error if the fingerprint does not match.
1591 bool CheckSourceFingerprint(intptr_t fp) const; 1591 bool CheckSourceFingerprint(int32_t fp) const;
1592 1592
1593 static const int kCtorPhaseInit = 1 << 0; 1593 static const int kCtorPhaseInit = 1 << 0;
1594 static const int kCtorPhaseBody = 1 << 1; 1594 static const int kCtorPhaseBody = 1 << 1;
1595 static const int kCtorPhaseAll = (kCtorPhaseInit | kCtorPhaseBody); 1595 static const int kCtorPhaseAll = (kCtorPhaseInit | kCtorPhaseBody);
1596 1596
1597 private: 1597 private:
1598 enum KindTagBits { 1598 enum KindTagBits {
1599 kStaticBit = 0, 1599 kStaticBit = 0,
1600 kConstBit = 1, 1600 kConstBit = 1,
1601 kOptimizableBit = 2, 1601 kOptimizableBit = 2,
(...skipping 4058 matching lines...) Expand 10 before | Expand all | Expand 10 after
5660 5660
5661 5661
5662 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, 5662 RawObject* MegamorphicCache::GetTargetFunction(const Array& array,
5663 intptr_t index) { 5663 intptr_t index) {
5664 return array.At((index * kEntryLength) + kTargetFunctionIndex); 5664 return array.At((index * kEntryLength) + kTargetFunctionIndex);
5665 } 5665 }
5666 5666
5667 } // namespace dart 5667 } // namespace dart
5668 5668
5669 #endif // VM_OBJECT_H_ 5669 #endif // VM_OBJECT_H_
OLDNEW
« no previous file with comments | « runtime/vm/intrinsifier.h ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698