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

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

Issue 620553002: Provide ia32 intrinsics for bigint add, sub, quotient digit estimation, and (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 2 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 #include "vm/object.h" 5 #include "vm/object.h"
6 6
7 #include "include/dart_api.h" 7 #include "include/dart_api.h"
8 #include "platform/assert.h" 8 #include "platform/assert.h"
9 #include "vm/assembler.h" 9 #include "vm/assembler.h"
10 #include "vm/cpu.h" 10 #include "vm/cpu.h"
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 158
159 159
160 // The following functions are marked as invisible, meaning they will be hidden 160 // The following functions are marked as invisible, meaning they will be hidden
161 // in the stack trace and will be hidden from reflective access. 161 // in the stack trace and will be hidden from reflective access.
162 // (Library, class name, method name) 162 // (Library, class name, method name)
163 // Additionally, private functions in dart:* that are native or constructors are 163 // Additionally, private functions in dart:* that are native or constructors are
164 // marked as invisible by the parser. 164 // marked as invisible by the parser.
165 #define INVISIBLE_CLASS_FUNCTIONS(V) \ 165 #define INVISIBLE_CLASS_FUNCTIONS(V) \
166 V(CoreLibrary, int, _throwFormatException) \ 166 V(CoreLibrary, int, _throwFormatException) \
167 V(CoreLibrary, int, _parse) \ 167 V(CoreLibrary, int, _parse) \
168 V(CoreLibrary, _Bigint, _add) \
169 V(CoreLibrary, _Bigint, _sub) \
168 V(CoreLibrary, _Bigint, _mulAdd) \ 170 V(CoreLibrary, _Bigint, _mulAdd) \
169 V(CoreLibrary, _Bigint, _sqrAdd) \ 171 V(CoreLibrary, _Bigint, _sqrAdd) \
172 V(CoreLibrary, _Bigint, _estQuotientDigit) \
173 V(CoreLibrary, _Montgomery, _mulMod) \
170 174
171 #define INVISIBLE_LIBRARY_FUNCTIONS(V) \ 175 #define INVISIBLE_LIBRARY_FUNCTIONS(V) \
172 V(TypedDataLibrary, _toInt8) \ 176 V(TypedDataLibrary, _toInt8) \
173 V(TypedDataLibrary, _toInt16) \ 177 V(TypedDataLibrary, _toInt16) \
174 V(TypedDataLibrary, _toInt32) \ 178 V(TypedDataLibrary, _toInt32) \
175 V(TypedDataLibrary, _toInt64) \ 179 V(TypedDataLibrary, _toInt64) \
176 V(TypedDataLibrary, _toUint8) \ 180 V(TypedDataLibrary, _toUint8) \
177 V(TypedDataLibrary, _toUint16) \ 181 V(TypedDataLibrary, _toUint16) \
178 V(TypedDataLibrary, _toUint32) \ 182 V(TypedDataLibrary, _toUint32) \
179 V(TypedDataLibrary, _toUint64) \ 183 V(TypedDataLibrary, _toUint64) \
(...skipping 20111 matching lines...) Expand 10 before | Expand all | Expand 10 after
20291 return tag_label.ToCString(); 20295 return tag_label.ToCString();
20292 } 20296 }
20293 20297
20294 20298
20295 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const { 20299 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const {
20296 Instance::PrintJSONImpl(stream, ref); 20300 Instance::PrintJSONImpl(stream, ref);
20297 } 20301 }
20298 20302
20299 20303
20300 } // namespace dart 20304 } // namespace dart
OLDNEW
« runtime/vm/intrinsifier_ia32.cc ('K') | « runtime/vm/method_recognizer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698