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

Side by Side Diff: src/platform-win32.cc

Issue 251103003: Remove unnecessary includes of v8 headers from platform files (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: updates Created 6 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 | « src/platform-solaris.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 27 matching lines...) Expand all
38 #endif // MINGW_HAS_SECURE_API 38 #endif // MINGW_HAS_SECURE_API
39 #endif // __MINGW32__ 39 #endif // __MINGW32__
40 40
41 #include "win32-headers.h" 41 #include "win32-headers.h"
42 42
43 #include "v8.h" 43 #include "v8.h"
44 44
45 #include "codegen.h" 45 #include "codegen.h"
46 #include "isolate-inl.h" 46 #include "isolate-inl.h"
47 #include "platform.h" 47 #include "platform.h"
48 #include "simulator.h"
49 #include "vm-state-inl.h"
50 48
51 #ifdef _MSC_VER 49 #ifdef _MSC_VER
52 50
53 // Case-insensitive bounded string comparisons. Use stricmp() on Win32. Usually 51 // Case-insensitive bounded string comparisons. Use stricmp() on Win32. Usually
54 // defined in strings.h. 52 // defined in strings.h.
55 int strncasecmp(const char* s1, const char* s2, int n) { 53 int strncasecmp(const char* s1, const char* s2, int n) {
56 return _strnicmp(s1, s2, n); 54 return _strnicmp(s1, s2, n);
57 } 55 }
58 56
59 #endif // _MSC_VER 57 #endif // _MSC_VER
(...skipping 1453 matching lines...) Expand 10 before | Expand all | Expand 10 after
1513 ASSERT(result); 1511 ASSERT(result);
1514 } 1512 }
1515 1513
1516 1514
1517 1515
1518 void Thread::YieldCPU() { 1516 void Thread::YieldCPU() {
1519 Sleep(0); 1517 Sleep(0);
1520 } 1518 }
1521 1519
1522 } } // namespace v8::internal 1520 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/platform-solaris.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698