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

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

Issue 59933004: In preparation of inlining remainder and modulo binary Smi operations: (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 1 month 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_x64.cc ('k') | runtime/vm/token.h » ('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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 "include/dart_native_api.h" 5 #include "include/dart_native_api.h"
6 6
7 #include "platform/assert.h" 7 #include "platform/assert.h"
8 #include "vm/dart_api_impl.h" 8 #include "vm/dart_api_impl.h"
9 #include "vm/dart_api_message.h" 9 #include "vm/dart_api_message.h"
10 #include "vm/dart_api_state.h" 10 #include "vm/dart_api_state.h"
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 DARTSCOPE(isolate); 113 DARTSCOPE(isolate);
114 Dart_Handle result = Api::CheckIsolateState(isolate); 114 Dart_Handle result = Api::CheckIsolateState(isolate);
115 if (::Dart_IsError(result)) { 115 if (::Dart_IsError(result)) {
116 return result; 116 return result;
117 } 117 }
118 CHECK_CALLBACK_STATE(isolate); 118 CHECK_CALLBACK_STATE(isolate);
119 CompileAll(isolate, &result); 119 CompileAll(isolate, &result);
120 return result; 120 return result;
121 } 121 }
122 122
123
124 DART_EXPORT Dart_Handle Dart_CheckFunctionFingerprints() {
125 Isolate* isolate = Isolate::Current();
126 DARTSCOPE(isolate);
127 Dart_Handle result = Api::CheckIsolateState(isolate);
128 if (::Dart_IsError(result)) {
129 return result;
130 }
131 CHECK_CALLBACK_STATE(isolate);
132 Library::CheckFunctionFingerprints();
133 return result;
134 }
135
136 } // namespace dart 123 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/intrinsifier_x64.cc ('k') | runtime/vm/token.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698