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

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

Issue 50983002: Implement fromEnvironment on bool, int and String (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed comments 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
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 "vm/isolate.h" 5 #include "vm/isolate.h"
6 6
7 #include "include/dart_api.h" 7 #include "include/dart_api.h"
8 #include "platform/assert.h" 8 #include "platform/assert.h"
9 #include "platform/json.h" 9 #include "platform/json.h"
10 #include "lib/mirrors.h" 10 #include "lib/mirrors.h"
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 : store_buffer_(), 277 : store_buffer_(),
278 message_notify_callback_(NULL), 278 message_notify_callback_(NULL),
279 name_(NULL), 279 name_(NULL),
280 start_time_(OS::GetCurrentTimeMicros()), 280 start_time_(OS::GetCurrentTimeMicros()),
281 main_port_(0), 281 main_port_(0),
282 heap_(NULL), 282 heap_(NULL),
283 object_store_(NULL), 283 object_store_(NULL),
284 top_context_(Context::null()), 284 top_context_(Context::null()),
285 top_exit_frame_info_(0), 285 top_exit_frame_info_(0),
286 init_callback_data_(NULL), 286 init_callback_data_(NULL),
287 environment_callback_(NULL),
287 library_tag_handler_(NULL), 288 library_tag_handler_(NULL),
288 api_state_(NULL), 289 api_state_(NULL),
289 stub_code_(NULL), 290 stub_code_(NULL),
290 debugger_(NULL), 291 debugger_(NULL),
291 single_step_(false), 292 single_step_(false),
292 simulator_(NULL), 293 simulator_(NULL),
293 long_jump_base_(NULL), 294 long_jump_base_(NULL),
294 timer_list_(), 295 timer_list_(),
295 deopt_id_(0), 296 deopt_id_(0),
296 mutex_(new Mutex()), 297 mutex_(new Mutex()),
(...skipping 764 matching lines...) Expand 10 before | Expand all | Expand 10 after
1061 return func.raw(); 1062 return func.raw();
1062 } 1063 }
1063 1064
1064 1065
1065 void IsolateSpawnState::Cleanup() { 1066 void IsolateSpawnState::Cleanup() {
1066 SwitchIsolateScope switch_scope(isolate()); 1067 SwitchIsolateScope switch_scope(isolate());
1067 Dart::ShutdownIsolate(); 1068 Dart::ShutdownIsolate();
1068 } 1069 }
1069 1070
1070 } // namespace dart 1071 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/isolate.h ('k') | runtime/vm/parser.cc » ('j') | sdk/lib/core/bool.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698