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

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

Issue 821123003: Simplify double to bigint conversion. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 11 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
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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_EXCEPTIONS_H_ 5 #ifndef VM_EXCEPTIONS_H_
6 #define VM_EXCEPTIONS_H_ 6 #define VM_EXCEPTIONS_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 9
10 namespace dart { 10 namespace dart {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 48
49 enum ExceptionType { 49 enum ExceptionType {
50 kNone, 50 kNone,
51 kRange, 51 kRange,
52 kArgument, 52 kArgument,
53 kNoSuchMethod, 53 kNoSuchMethod,
54 kFormat, 54 kFormat,
55 kUnsupported, 55 kUnsupported,
56 kStackOverflow, 56 kStackOverflow,
57 kOutOfMemory, 57 kOutOfMemory,
58 kInternalError,
59 kNullThrown, 58 kNullThrown,
60 kIsolateSpawn, 59 kIsolateSpawn,
61 kIsolateUnhandledException, 60 kIsolateUnhandledException,
62 kJavascriptIntegerOverflowError, 61 kJavascriptIntegerOverflowError,
63 kJavascriptCompatibilityError, 62 kJavascriptCompatibilityError,
64 kAssertion, 63 kAssertion,
65 kCast, 64 kCast,
66 kType, 65 kType,
67 kFallThrough, 66 kFallThrough,
68 kAbstractClassInstantiation, 67 kAbstractClassInstantiation,
(...skipping 14 matching lines...) Expand all
83 // otherwise returns a RawError. 82 // otherwise returns a RawError.
84 static RawObject* Create(ExceptionType type, const Array& arguments); 83 static RawObject* Create(ExceptionType type, const Array& arguments);
85 84
86 private: 85 private:
87 DISALLOW_COPY_AND_ASSIGN(Exceptions); 86 DISALLOW_COPY_AND_ASSIGN(Exceptions);
88 }; 87 };
89 88
90 } // namespace dart 89 } // namespace dart
91 90
92 #endif // VM_EXCEPTIONS_H_ 91 #endif // VM_EXCEPTIONS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698