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 11487 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11498 CHECK(false); | 11498 CHECK(false); |
11499 break; | 11499 break; |
11500 default: | 11500 default: |
11501 // Impossible event. | 11501 // Impossible event. |
11502 CHECK(false); | 11502 CHECK(false); |
11503 break; | 11503 break; |
11504 } | 11504 } |
11505 } | 11505 } |
11506 | 11506 |
11507 | 11507 |
11508 // Implemented in the test-alloc.cc test suite. | |
11509 void SimulateFullSpace(i::PagedSpace* space); | |
11510 | |
11511 | |
11512 static bool MatchPointers(void* key1, void* key2) { | 11508 static bool MatchPointers(void* key1, void* key2) { |
11513 return key1 == key2; | 11509 return key1 == key2; |
11514 } | 11510 } |
11515 | 11511 |
11516 | 11512 |
11517 TEST(SetJitCodeEventHandler) { | 11513 TEST(SetJitCodeEventHandler) { |
11518 const char* script = | 11514 const char* script = |
11519 "function bar() {" | 11515 "function bar() {" |
11520 " var sum = 0;" | 11516 " var sum = 0;" |
11521 " for (i = 0; i < 100; ++i)" | 11517 " for (i = 0; i < 100; ++i)" |
(...skipping 6474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
17996 | 17992 |
17997 i::Semaphore* sem_; | 17993 i::Semaphore* sem_; |
17998 volatile int sem_value_; | 17994 volatile int sem_value_; |
17999 }; | 17995 }; |
18000 | 17996 |
18001 | 17997 |
18002 THREADED_TEST(SemaphoreInterruption) { | 17998 THREADED_TEST(SemaphoreInterruption) { |
18003 ThreadInterruptTest().RunTest(); | 17999 ThreadInterruptTest().RunTest(); |
18004 } | 18000 } |
18005 #endif // WIN32 | 18001 #endif // WIN32 |
OLD | NEW |