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

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

Issue 509153003: New bigint implementation in the vm. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 3 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) 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_DART_API_MESSAGE_H_ 5 #ifndef VM_DART_API_MESSAGE_H_
6 #define VM_DART_API_MESSAGE_H_ 6 #define VM_DART_API_MESSAGE_H_
7 7
8 #include "include/dart_native_api.h" 8 #include "include/dart_native_api.h"
9 #include "vm/dart_api_state.h" 9 #include "vm/dart_api_state.h"
10 #include "vm/snapshot.h" 10 #include "vm/snapshot.h"
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 // object in the API message. 76 // object in the API message.
77 Dart_CObject* AllocateDartCObjectUnsupported(); 77 Dart_CObject* AllocateDartCObjectUnsupported();
78 // Allocates a Dart_CObject object for the null object. 78 // Allocates a Dart_CObject object for the null object.
79 Dart_CObject* AllocateDartCObjectNull(); 79 Dart_CObject* AllocateDartCObjectNull();
80 // Allocates a Dart_CObject object for a boolean object. 80 // Allocates a Dart_CObject object for a boolean object.
81 Dart_CObject* AllocateDartCObjectBool(bool value); 81 Dart_CObject* AllocateDartCObjectBool(bool value);
82 // Allocates a Dart_CObject object for for a 32-bit integer. 82 // Allocates a Dart_CObject object for for a 32-bit integer.
83 Dart_CObject* AllocateDartCObjectInt32(int32_t value); 83 Dart_CObject* AllocateDartCObjectInt32(int32_t value);
84 // Allocates a Dart_CObject object for for a 64-bit integer. 84 // Allocates a Dart_CObject object for for a 64-bit integer.
85 Dart_CObject* AllocateDartCObjectInt64(int64_t value); 85 Dart_CObject* AllocateDartCObjectInt64(int64_t value);
86 // Allocates a Dart_CObject object for bigint data. 86 // Allocates an empty Dart_CObject object for a bigint to be filled up later.
87 Dart_CObject* AllocateDartCObjectBigint(intptr_t length); 87 Dart_CObject* AllocateDartCObjectBigint();
88 // Allocates a Dart_CObject object for a double. 88 // Allocates a Dart_CObject object for a double.
89 Dart_CObject* AllocateDartCObjectDouble(double value); 89 Dart_CObject* AllocateDartCObjectDouble(double value);
90 // Allocates a Dart_CObject object for string data. 90 // Allocates a Dart_CObject object for string data.
91 Dart_CObject* AllocateDartCObjectString(intptr_t length); 91 Dart_CObject* AllocateDartCObjectString(intptr_t length);
92 // Allocates a C Dart_CObject object for a typed data. 92 // Allocates a C Dart_CObject object for a typed data.
93 Dart_CObject* AllocateDartCObjectTypedData( 93 Dart_CObject* AllocateDartCObjectTypedData(
94 Dart_TypedData_Type type, intptr_t length); 94 Dart_TypedData_Type type, intptr_t length);
95 // Allocates a C array of Dart_CObject objects. 95 // Allocates a C array of Dart_CObject objects.
96 Dart_CObject* AllocateDartCObjectArray(intptr_t length); 96 Dart_CObject* AllocateDartCObjectArray(intptr_t length);
97 // Allocates a Dart_CObject_Internal object with the specified type. 97 // Allocates a Dart_CObject_Internal object with the specified type.
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 Dart_CObject** forward_list_; 186 Dart_CObject** forward_list_;
187 intptr_t forward_list_length_; 187 intptr_t forward_list_length_;
188 intptr_t forward_id_; 188 intptr_t forward_id_;
189 189
190 DISALLOW_COPY_AND_ASSIGN(ApiMessageWriter); 190 DISALLOW_COPY_AND_ASSIGN(ApiMessageWriter);
191 }; 191 };
192 192
193 } // namespace dart 193 } // namespace dart
194 194
195 #endif // VM_DART_API_MESSAGE_H_ 195 #endif // VM_DART_API_MESSAGE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698