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

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

Issue 1422423002: Remove IsolateSpawnState::Cleanup as it is not used anywhere. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 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
« no previous file with comments | « runtime/vm/isolate.h ('k') | no next file » | 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 "include/dart_native_api.h" 8 #include "include/dart_native_api.h"
9 #include "platform/assert.h" 9 #include "platform/assert.h"
10 #include "platform/json.h" 10 #include "platform/json.h"
(...skipping 2594 matching lines...) Expand 10 before | Expand all | Expand 10 after
2605 return DeserializeObject(thread, serialized_args_, serialized_args_len_); 2605 return DeserializeObject(thread, serialized_args_, serialized_args_len_);
2606 } 2606 }
2607 2607
2608 2608
2609 RawInstance* IsolateSpawnState::BuildMessage(Thread* thread) { 2609 RawInstance* IsolateSpawnState::BuildMessage(Thread* thread) {
2610 return DeserializeObject(thread, 2610 return DeserializeObject(thread,
2611 serialized_message_, serialized_message_len_); 2611 serialized_message_, serialized_message_len_);
2612 } 2612 }
2613 2613
2614 2614
2615 void IsolateSpawnState::Cleanup() {
2616 SwitchIsolateScope switch_scope(I);
2617 Dart::ShutdownIsolate();
2618 }
2619
2620 } // namespace dart 2615 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/isolate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698