Chromium Code Reviews| 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 61 #ifndef V8_SHARED | 61 #ifndef V8_SHARED |
| 62 #include "api.h" | 62 #include "api.h" |
| 63 #include "checks.h" | 63 #include "checks.h" |
| 64 #include "d8-debug.h" | 64 #include "d8-debug.h" |
| 65 #include "debug.h" | 65 #include "debug.h" |
| 66 #include "natives.h" | 66 #include "natives.h" |
| 67 #include "platform.h" | 67 #include "platform.h" |
| 68 #include "v8.h" | 68 #include "v8.h" |
| 69 #endif // V8_SHARED | 69 #endif // V8_SHARED |
| 70 | 70 |
| 71 #if V8_OS_UNIX | 71 #if !defined(_WIN32) && !defined(_WIN64) |
|
Sven Panne
2013/07/29 11:05:39
I don't think this is actually correct for compila
| |
| 72 #include <unistd.h> // NOLINT | 72 #include <unistd.h> // NOLINT |
| 73 #endif | 73 #endif |
| 74 | 74 |
| 75 #ifndef ASSERT | 75 #ifndef ASSERT |
| 76 #define ASSERT(condition) assert(condition) | 76 #define ASSERT(condition) assert(condition) |
| 77 #endif | 77 #endif |
| 78 | 78 |
| 79 namespace v8 { | 79 namespace v8 { |
| 80 | 80 |
| 81 | 81 |
| (...skipping 1565 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1647 } | 1647 } |
| 1648 | 1648 |
| 1649 } // namespace v8 | 1649 } // namespace v8 |
| 1650 | 1650 |
| 1651 | 1651 |
| 1652 #ifndef GOOGLE3 | 1652 #ifndef GOOGLE3 |
| 1653 int main(int argc, char* argv[]) { | 1653 int main(int argc, char* argv[]) { |
| 1654 return v8::Shell::Main(argc, argv); | 1654 return v8::Shell::Main(argc, argv); |
| 1655 } | 1655 } |
| 1656 #endif | 1656 #endif |
| OLD | NEW |