| OLD | NEW |
| 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 #if defined(DEBUG) && defined(NDEBUG) | 46 #if defined(DEBUG) && defined(NDEBUG) |
| 47 #error both DEBUG and NDEBUG are set | 47 #error both DEBUG and NDEBUG are set |
| 48 #endif | 48 #endif |
| 49 | 49 |
| 50 // Basic includes | 50 // Basic includes |
| 51 #include "../include/v8.h" | 51 #include "../include/v8.h" |
| 52 #include "globals.h" | 52 #include "globals.h" |
| 53 #include "checks.h" | 53 #include "checks.h" |
| 54 #include "allocation.h" | 54 #include "allocation.h" |
| 55 #include "utils.h" | 55 #include "utils.h" |
| 56 #include "flags-inl.h" | 56 #include "flags.h" |
| 57 | 57 |
| 58 // Objects & heap | 58 // Objects & heap |
| 59 #include "objects.h" | 59 #include "objects.h" |
| 60 #include "spaces.h" | 60 #include "spaces.h" |
| 61 #include "heap.h" | 61 #include "heap.h" |
| 62 #include "objects-inl.h" | 62 #include "objects-inl.h" |
| 63 #include "spaces-inl.h" | 63 #include "spaces-inl.h" |
| 64 #include "heap-inl.h" | 64 #include "heap-inl.h" |
| 65 #include "messages.h" | 65 #include "messages.h" |
| 66 | 66 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 82 // Report process out of memory. Implementation found in api.cc. | 82 // Report process out of memory. Implementation found in api.cc. |
| 83 static void FatalProcessOutOfMemory(const char* location); | 83 static void FatalProcessOutOfMemory(const char* location); |
| 84 private: | 84 private: |
| 85 static bool has_been_setup_; | 85 static bool has_been_setup_; |
| 86 static bool has_been_disposed_; | 86 static bool has_been_disposed_; |
| 87 }; | 87 }; |
| 88 | 88 |
| 89 } } // namespace v8::internal | 89 } } // namespace v8::internal |
| 90 | 90 |
| 91 #endif // V8_V8_H_ | 91 #endif // V8_V8_H_ |
| OLD | NEW |