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

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

Issue 14307013: - Remember the fact that an object has been added to the (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 7 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/vm/isolate.h ('k') | runtime/vm/object.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 "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 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 uint32_t y = raw_uint32x4->y(); 305 uint32_t y = raw_uint32x4->y();
306 uint32_t z = raw_uint32x4->z(); 306 uint32_t z = raw_uint32x4->z();
307 uint32_t w = raw_uint32x4->w(); 307 uint32_t w = raw_uint32x4->w();
308 OS::PrintErr("materializing Uint32x4 at %"Px": %x,%x,%x,%x\n", 308 OS::PrintErr("materializing Uint32x4 at %"Px": %x,%x,%x,%x\n",
309 reinterpret_cast<uword>(slot()), x, y, z, w); 309 reinterpret_cast<uword>(slot()), x, y, z, w);
310 } 310 }
311 } 311 }
312 312
313 313
314 Isolate::Isolate() 314 Isolate::Isolate()
315 : store_buffer_block_(), 315 : store_buffer_(),
316 store_buffer_(),
317 message_notify_callback_(NULL), 316 message_notify_callback_(NULL),
318 name_(NULL), 317 name_(NULL),
319 start_time_(OS::GetCurrentTimeMicros()), 318 start_time_(OS::GetCurrentTimeMicros()),
320 main_port_(0), 319 main_port_(0),
321 heap_(NULL), 320 heap_(NULL),
322 object_store_(NULL), 321 object_store_(NULL),
323 top_context_(Context::null()), 322 top_context_(Context::null()),
324 top_exit_frame_info_(0), 323 top_exit_frame_info_(0),
325 init_callback_data_(NULL), 324 init_callback_data_(NULL),
326 library_tag_handler_(NULL), 325 library_tag_handler_(NULL),
(...skipping 750 matching lines...) Expand 10 before | Expand all | Expand 10 after
1077 return func.raw(); 1076 return func.raw();
1078 } 1077 }
1079 1078
1080 1079
1081 void IsolateSpawnState::Cleanup() { 1080 void IsolateSpawnState::Cleanup() {
1082 SwitchIsolateScope switch_scope(isolate()); 1081 SwitchIsolateScope switch_scope(isolate());
1083 Dart::ShutdownIsolate(); 1082 Dart::ShutdownIsolate();
1084 } 1083 }
1085 1084
1086 } // namespace dart 1085 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/isolate.h ('k') | runtime/vm/object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698