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

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

Issue 1105453003: Remove public int.is64Bit. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 8 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/internal_patch.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/code_patcher.h" 8 #include "vm/code_patcher.h"
9 #include "vm/exceptions.h" 9 #include "vm/exceptions.h"
10 #include "vm/heap.h" 10 #include "vm/heap.h"
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 LibraryPrefix::CheckedHandle(arguments->NativeArgAt(0)); 312 LibraryPrefix::CheckedHandle(arguments->NativeArgAt(0));
313 // Currently all errors are Dart instances, e.g. I/O errors 313 // Currently all errors are Dart instances, e.g. I/O errors
314 // created by deferred loading code. LanguageErrors from 314 // created by deferred loading code. LanguageErrors from
315 // failed loading or finalization attempts are propagated and result 315 // failed loading or finalization attempts are propagated and result
316 // in the isolate's death. 316 // in the isolate's death.
317 const Instance& error = Instance::Handle(prefix.LoadError()); 317 const Instance& error = Instance::Handle(prefix.LoadError());
318 return error.raw(); 318 return error.raw();
319 } 319 }
320 320
321 321
322 DEFINE_NATIVE_ENTRY(Internal_inquireIs64Bit, 0) {
323 #if defined(TARGET_ARCH_X64)
siva 2015/04/24 18:27:07 ARCH_IS_64_BIT should be used here.
srdjan 2015/04/24 18:28:46 Done.
324 return Bool::True().raw();
325 #else
326 return Bool::False().raw();
327 #endif // defined(TARGET_ARCH_X64)
328 }
329
322 } // namespace dart 330 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/lib/internal_patch.dart ('k') | runtime/vm/bootstrap_natives.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698