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

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

Issue 12629004: Implement native call stub on ARM and native call redirection in ARM simulator. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 9 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
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/globals.h" 5 #include "vm/globals.h"
6 #if defined(TARGET_OS_WINDOWS) 6 #if defined(TARGET_OS_WINDOWS)
7 7
8 #include "vm/os.h" 8 #include "vm/os.h"
9 9
10 #include <malloc.h> // NOLINT 10 #include <malloc.h> // NOLINT
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 } 252 }
253 253
254 254
255 void OS::RegisterCodeObservers() { 255 void OS::RegisterCodeObservers() {
256 #if defined(DART_VTUNE_SUPPORT) 256 #if defined(DART_VTUNE_SUPPORT)
257 Register(new VTuneCodeObserver); 257 Register(new VTuneCodeObserver);
258 #endif 258 #endif
259 } 259 }
260 260
261 261
262 const char* OS::ReverseLookupSymbol(uword address) {
263 UNIMPLEMENTED();
264 return NULL;
265 }
266
267
262 void OS::PrintErr(const char* format, ...) { 268 void OS::PrintErr(const char* format, ...) {
263 va_list args; 269 va_list args;
264 va_start(args, format); 270 va_start(args, format);
265 VFPrint(stderr, format, args); 271 VFPrint(stderr, format, args);
266 va_end(args); 272 va_end(args);
267 } 273 }
268 274
269 275
270 void OS::InitOnce() { 276 void OS::InitOnce() {
271 // TODO(5411554): For now we check that initonce is called only once, 277 // TODO(5411554): For now we check that initonce is called only once,
(...skipping 16 matching lines...) Expand all
288 } 294 }
289 295
290 296
291 void OS::Exit(int code) { 297 void OS::Exit(int code) {
292 exit(code); 298 exit(code);
293 } 299 }
294 300
295 } // namespace dart 301 } // namespace dart
296 302
297 #endif // defined(TARGET_OS_WINDOWS) 303 #endif // defined(TARGET_OS_WINDOWS)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698