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

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

Issue 509153003: New bigint implementation in the vm. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 3 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/bootstrap_natives.h" 5 #include "vm/bootstrap_natives.h"
6 6
7 #include "include/dart_api.h" 7 #include "include/dart_api.h"
8 #include "vm/bigint_operations.h"
9 #include "vm/dart_entry.h" 8 #include "vm/dart_entry.h"
10 #include "vm/dart_api_impl.h" 9 #include "vm/dart_api_impl.h"
11 #include "vm/exceptions.h" 10 #include "vm/exceptions.h"
12 #include "vm/isolate.h" 11 #include "vm/isolate.h"
13 #include "vm/native_entry.h" 12 #include "vm/native_entry.h"
14 #include "vm/object.h" 13 #include "vm/object.h"
15 #include "vm/object_store.h" 14 #include "vm/object_store.h"
16 #include "vm/symbols.h" 15 #include "vm/symbols.h"
17 16
18 namespace dart { 17 namespace dart {
(...skipping 19 matching lines...) Expand all
38 String::New(Error::Cast(error).ToErrorCString()))); 37 String::New(Error::Cast(error).ToErrorCString())));
39 } else if (!Dart_IsNull(result)) { 38 } else if (!Dart_IsNull(result)) {
40 Exceptions::ThrowArgumentError( 39 Exceptions::ThrowArgumentError(
41 String::Handle(String::New("Illegal environment value"))); 40 String::Handle(String::New("Illegal environment value")));
42 } 41 }
43 } 42 }
44 return default_value.raw(); 43 return default_value.raw();
45 } 44 }
46 45
47 } // namespace dart 46 } // namespace dart
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698