Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. |
|
Michael Starzinger
2013/02/15 10:36:45
Copyright header should say just "2013", no year-r
Hannes Payer (out of office)
2013/02/15 10:42:18
Done.
| |
| 2 // | 2 // |
| 3 // Tests of the TokenLock class from lock.h | 3 // Tests general platform code. |
| 4 | 4 |
| 5 #include <stdlib.h> | 5 #include <stdlib.h> |
| 6 | 6 |
| 7 #include "v8.h" | 7 #include "v8.h" |
| 8 | |
| 9 #include "platform.h" | |
|
Michael Starzinger
2013/02/15 10:36:45
Can we alpha-sort the includes?
Hannes Payer (out of office)
2013/02/15 10:42:18
Done.
Hannes Payer (out of office)
2013/02/15 10:42:18
Done.
| |
| 8 #include "cctest.h" | 10 #include "cctest.h" |
| 9 | 11 |
| 10 using namespace ::v8::internal; | 12 using namespace ::v8::internal; |
| 13 | |
| 14 TEST(NumberOfCores) { | |
| 15 CHECK_GT(OS::NumberOfCores(), 0); | |
| 16 } | |
| OLD | NEW |