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

Side by Side Diff: runtime/bin/vmservice_dartium.cc

Issue 2695403003: Undo rename of LoadExtensionLibrary to LoadLibrary since mangling on Windows seems to create a conf… (Closed)
Patch Set: comment Created 3 years, 10 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
« no previous file with comments | « runtime/bin/snapshot_utils.cc ('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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 "bin/vmservice_dartium.h" 5 #include "bin/vmservice_dartium.h"
6 6
7 #include "bin/builtin.h" 7 #include "bin/builtin.h"
8 #include "bin/dartutils.h" 8 #include "bin/dartutils.h"
9 #include "bin/eventhandler.h" 9 #include "bin/eventhandler.h"
10 #include "bin/platform.h" 10 #include "bin/platform.h"
(...skipping 25 matching lines...) Expand all
36 Thread::InitOnce(); 36 Thread::InitOnce();
37 TimerUtils::InitOnce(); 37 TimerUtils::InitOnce();
38 EventHandler::Start(); 38 EventHandler::Start();
39 } 39 }
40 40
41 41
42 Dart_Isolate VmServiceServer::CreateIsolate(const uint8_t* snapshot_buffer) { 42 Dart_Isolate VmServiceServer::CreateIsolate(const uint8_t* snapshot_buffer) {
43 ASSERT(snapshot_buffer != NULL); 43 ASSERT(snapshot_buffer != NULL);
44 // Create the isolate. 44 // Create the isolate.
45 IsolateData* isolate_data = 45 IsolateData* isolate_data =
46 new IsolateData(DART_VM_SERVICE_ISOLATE_NAME, NULL, NULL); 46 new IsolateData(DART_VM_SERVICE_ISOLATE_NAME, NULL, NULL, NULL);
47 char* error = 0; 47 char* error = 0;
48 Dart_Isolate isolate = 48 Dart_Isolate isolate =
49 Dart_CreateIsolate(DART_VM_SERVICE_ISOLATE_NAME, "main", snapshot_buffer, 49 Dart_CreateIsolate(DART_VM_SERVICE_ISOLATE_NAME, "main", snapshot_buffer,
50 NULL, NULL, isolate_data, &error); 50 NULL, NULL, isolate_data, &error);
51 if (!isolate) { 51 if (!isolate) {
52 fprintf(stderr, "Dart_CreateIsolate failed: %s\n", error); 52 fprintf(stderr, "Dart_CreateIsolate failed: %s\n", error);
53 return 0; 53 return 0;
54 } 54 }
55 55
56 Dart_EnterScope(); 56 Dart_EnterScope();
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 140
141 141
142 /* DISALLOW_ALLOCATION */ 142 /* DISALLOW_ALLOCATION */
143 void VmServiceServer::operator delete(void* pointer) { 143 void VmServiceServer::operator delete(void* pointer) {
144 fprintf(stderr, "unreachable code\n"); 144 fprintf(stderr, "unreachable code\n");
145 abort(); 145 abort();
146 } 146 }
147 147
148 } // namespace bin 148 } // namespace bin
149 } // namespace dart 149 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/bin/snapshot_utils.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698