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

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

Issue 22640019: Fix for running with --throw_on_javascript_int_overflow: recognize pattern (a << b) & mask and test… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 4 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_BOOTSTRAP_NATIVES_H_ 5 #ifndef VM_BOOTSTRAP_NATIVES_H_
6 #define VM_BOOTSTRAP_NATIVES_H_ 6 #define VM_BOOTSTRAP_NATIVES_H_
7 7
8 #include "vm/native_entry.h" 8 #include "vm/native_entry.h"
9 9
10 // bootstrap dart natives used in the core dart library. 10 // bootstrap dart natives used in the core dart library.
(...skipping 18 matching lines...) Expand all
29 V(Integer_bitOrFromInteger, 2) \ 29 V(Integer_bitOrFromInteger, 2) \
30 V(Integer_bitXorFromInteger, 2) \ 30 V(Integer_bitXorFromInteger, 2) \
31 V(Integer_addFromInteger, 2) \ 31 V(Integer_addFromInteger, 2) \
32 V(Integer_subFromInteger, 2) \ 32 V(Integer_subFromInteger, 2) \
33 V(Integer_mulFromInteger, 2) \ 33 V(Integer_mulFromInteger, 2) \
34 V(Integer_truncDivFromInteger, 2) \ 34 V(Integer_truncDivFromInteger, 2) \
35 V(Integer_moduloFromInteger, 2) \ 35 V(Integer_moduloFromInteger, 2) \
36 V(Integer_greaterThanFromInteger, 2) \ 36 V(Integer_greaterThanFromInteger, 2) \
37 V(Integer_equalToInteger, 2) \ 37 V(Integer_equalToInteger, 2) \
38 V(Integer_parse, 1) \ 38 V(Integer_parse, 1) \
39 V(Integer_leftShiftWithMask32, 3) \
39 V(ReceivePortImpl_factory, 1) \ 40 V(ReceivePortImpl_factory, 1) \
40 V(ReceivePortImpl_closeInternal, 1) \ 41 V(ReceivePortImpl_closeInternal, 1) \
41 V(SendPortImpl_sendInternal_, 3) \ 42 V(SendPortImpl_sendInternal_, 3) \
42 V(Smi_shlFromInt, 2) \ 43 V(Smi_shlFromInt, 2) \
43 V(Smi_shrFromInt, 2) \ 44 V(Smi_shrFromInt, 2) \
44 V(Smi_bitNegate, 1) \ 45 V(Smi_bitNegate, 1) \
45 V(Mint_bitNegate, 1) \ 46 V(Mint_bitNegate, 1) \
46 V(Mint_shlFromInt, 2) \ 47 V(Mint_shlFromInt, 2) \
47 V(Bigint_bitNegate, 1) \ 48 V(Bigint_bitNegate, 1) \
48 V(Bigint_shlFromInt, 2) \ 49 V(Bigint_shlFromInt, 2) \
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 static void DN_##name(Dart_NativeArguments args); 301 static void DN_##name(Dart_NativeArguments args);
301 302
302 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) 303 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE)
303 304
304 #undef DECLARE_BOOTSTRAP_NATIVE 305 #undef DECLARE_BOOTSTRAP_NATIVE
305 }; 306 };
306 307
307 } // namespace dart 308 } // namespace dart
308 309
309 #endif // VM_BOOTSTRAP_NATIVES_H_ 310 #endif // VM_BOOTSTRAP_NATIVES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698