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

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

Issue 216383004: Merge initial implementation of deferred handling in the VM: (Closed) Base URL: http://dart.googlecode.com/svn/trunk/dart/
Patch Set: Created 6 years, 9 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
« no previous file with comments | « runtime/lib/lib_prefix.dart ('k') | runtime/vm/bootstrap_natives.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) 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 #include "vm/bootstrap_natives.h" 5 #include "vm/bootstrap_natives.h"
6 6
7 #include "lib/invocation_mirror.h" 7 #include "lib/invocation_mirror.h"
8 #include "vm/exceptions.h" 8 #include "vm/exceptions.h"
9 #include "vm/heap.h" 9 #include "vm/heap.h"
10 #include "vm/native_entry.h" 10 #include "vm/native_entry.h"
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 return instance.raw(); 223 return instance.raw();
224 } 224 }
225 225
226 226
227 DEFINE_NATIVE_ENTRY(AbstractType_toString, 1) { 227 DEFINE_NATIVE_ENTRY(AbstractType_toString, 1) {
228 const AbstractType& type = 228 const AbstractType& type =
229 AbstractType::CheckedHandle(arguments->NativeArgAt(0)); 229 AbstractType::CheckedHandle(arguments->NativeArgAt(0));
230 return type.UserVisibleName(); 230 return type.UserVisibleName();
231 } 231 }
232 232
233
234 DEFINE_NATIVE_ENTRY(LibraryPrefix_load, 1) {
235 const LibraryPrefix& prefix =
236 LibraryPrefix::CheckedHandle(arguments->NativeArgAt(0));
237 prefix.LoadLibrary();
238 return Bool::Get(true).raw();
239 }
240
233 } // namespace dart 241 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/lib/lib_prefix.dart ('k') | runtime/vm/bootstrap_natives.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698