OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |