| 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 24 matching lines...) Expand all Loading... |
| 35 #include <_mingw.h> | 35 #include <_mingw.h> |
| 36 #ifdef MINGW_HAS_SECURE_API | 36 #ifdef MINGW_HAS_SECURE_API |
| 37 #undef MINGW_HAS_SECURE_API | 37 #undef MINGW_HAS_SECURE_API |
| 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" | |
| 46 #include "isolate-inl.h" | 45 #include "isolate-inl.h" |
| 47 #include "platform.h" | 46 #include "platform.h" |
| 48 #include "simulator.h" | |
| 49 #include "vm-state-inl.h" | |
| 50 | 47 |
| 51 #ifdef _MSC_VER | 48 #ifdef _MSC_VER |
| 52 | 49 |
| 53 // Case-insensitive bounded string comparisons. Use stricmp() on Win32. Usually | 50 // Case-insensitive bounded string comparisons. Use stricmp() on Win32. Usually |
| 54 // defined in strings.h. | 51 // defined in strings.h. |
| 55 int strncasecmp(const char* s1, const char* s2, int n) { | 52 int strncasecmp(const char* s1, const char* s2, int n) { |
| 56 return _strnicmp(s1, s2, n); | 53 return _strnicmp(s1, s2, n); |
| 57 } | 54 } |
| 58 | 55 |
| 59 #endif // _MSC_VER | 56 #endif // _MSC_VER |
| (...skipping 1453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1513 ASSERT(result); | 1510 ASSERT(result); |
| 1514 } | 1511 } |
| 1515 | 1512 |
| 1516 | 1513 |
| 1517 | 1514 |
| 1518 void Thread::YieldCPU() { | 1515 void Thread::YieldCPU() { |
| 1519 Sleep(0); | 1516 Sleep(0); |
| 1520 } | 1517 } |
| 1521 | 1518 |
| 1522 } } // namespace v8::internal | 1519 } } // namespace v8::internal |
| OLD | NEW |