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

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

Issue 11417049: - Remove obsolete random number generator from the VM code. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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
« no previous file with comments | « runtime/vm/isolate.h ('k') | runtime/vm/random.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) 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/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 "lib/mirrors.h" 9 #include "lib/mirrors.h"
10 #include "vm/compiler_stats.h" 10 #include "vm/compiler_stats.h"
11 #include "vm/dart_api_state.h" 11 #include "vm/dart_api_state.h"
12 #include "vm/dart_entry.h" 12 #include "vm/dart_entry.h"
13 #include "vm/debugger.h" 13 #include "vm/debugger.h"
14 #include "vm/debuginfo.h" 14 #include "vm/debuginfo.h"
15 #include "vm/heap.h" 15 #include "vm/heap.h"
16 #include "vm/message_handler.h" 16 #include "vm/message_handler.h"
17 #include "vm/object_store.h" 17 #include "vm/object_store.h"
18 #include "vm/parser.h" 18 #include "vm/parser.h"
19 #include "vm/port.h" 19 #include "vm/port.h"
20 #include "vm/random.h"
21 #include "vm/stack_frame.h" 20 #include "vm/stack_frame.h"
22 #include "vm/stub_code.h" 21 #include "vm/stub_code.h"
23 #include "vm/symbols.h" 22 #include "vm/symbols.h"
24 #include "vm/thread.h" 23 #include "vm/thread.h"
25 #include "vm/timer.h" 24 #include "vm/timer.h"
26 #include "vm/visitor.h" 25 #include "vm/visitor.h"
27 26
28 namespace dart { 27 namespace dart {
29 28
30 DEFINE_FLAG(bool, report_usage_count, false, 29 DEFINE_FLAG(bool, report_usage_count, false,
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 142
144 Isolate::Isolate() 143 Isolate::Isolate()
145 : store_buffer_block_(), 144 : store_buffer_block_(),
146 store_buffer_(), 145 store_buffer_(),
147 message_notify_callback_(NULL), 146 message_notify_callback_(NULL),
148 name_(NULL), 147 name_(NULL),
149 main_port_(0), 148 main_port_(0),
150 heap_(NULL), 149 heap_(NULL),
151 object_store_(NULL), 150 object_store_(NULL),
152 top_context_(Context::null()), 151 top_context_(Context::null()),
153 random_seed_(Random::kDefaultRandomSeed),
154 top_exit_frame_info_(0), 152 top_exit_frame_info_(0),
155 init_callback_data_(NULL), 153 init_callback_data_(NULL),
156 library_tag_handler_(NULL), 154 library_tag_handler_(NULL),
157 api_state_(NULL), 155 api_state_(NULL),
158 stub_code_(NULL), 156 stub_code_(NULL),
159 debugger_(NULL), 157 debugger_(NULL),
160 long_jump_base_(NULL), 158 long_jump_base_(NULL),
161 timer_list_(), 159 timer_list_(),
162 deopt_id_(0), 160 deopt_id_(0),
163 ic_data_array_(Array::null()), 161 ic_data_array_(Array::null()),
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
493 491
494 492
495 void Isolate::VisitWeakPersistentHandles(HandleVisitor* visitor, 493 void Isolate::VisitWeakPersistentHandles(HandleVisitor* visitor,
496 bool visit_prologue_weak_handles) { 494 bool visit_prologue_weak_handles) {
497 if (api_state() != NULL) { 495 if (api_state() != NULL) {
498 api_state()->VisitWeakHandles(visitor, visit_prologue_weak_handles); 496 api_state()->VisitWeakHandles(visitor, visit_prologue_weak_handles);
499 } 497 }
500 } 498 }
501 499
502 } // namespace dart 500 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/isolate.h ('k') | runtime/vm/random.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698