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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 } | 60 } |
61 | 61 |
62 | 62 |
63 static Mutex* limit_mutex = NULL; | 63 static Mutex* limit_mutex = NULL; |
64 | 64 |
65 | 65 |
66 void OS::PostSetUp() { | 66 void OS::PostSetUp() { |
67 POSIXPostSetUp(); | 67 POSIXPostSetUp(); |
68 } | 68 } |
69 | 69 |
| 70 |
70 uint64_t OS::CpuFeaturesImpliedByPlatform() { | 71 uint64_t OS::CpuFeaturesImpliedByPlatform() { |
71 return 0; // Nothing special about Cygwin. | 72 return 0; // Nothing special about Cygwin. |
72 } | 73 } |
73 | 74 |
74 | 75 |
75 int OS::ActivationFrameAlignment() { | 76 int OS::ActivationFrameAlignment() { |
76 // With gcc 4.4 the tree vectorization optimizer can generate code | 77 // With gcc 4.4 the tree vectorization optimizer can generate code |
77 // that requires 16 byte alignment such as movdqa on x86. | 78 // that requires 16 byte alignment such as movdqa on x86. |
78 return 16; | 79 return 16; |
79 } | 80 } |
(...skipping 620 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
700 limit_mutex = CreateMutex(); | 701 limit_mutex = CreateMutex(); |
701 } | 702 } |
702 | 703 |
703 | 704 |
704 void OS::TearDown() { | 705 void OS::TearDown() { |
705 delete limit_mutex; | 706 delete limit_mutex; |
706 } | 707 } |
707 | 708 |
708 | 709 |
709 } } // namespace v8::internal | 710 } } // namespace v8::internal |
OLD | NEW |