| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 #include "v8globals.h" | 53 #include "v8globals.h" |
| 54 #include "v8checks.h" | 54 #include "v8checks.h" |
| 55 #include "allocation.h" | 55 #include "allocation.h" |
| 56 #include "v8utils.h" | 56 #include "v8utils.h" |
| 57 #include "flags.h" | 57 #include "flags.h" |
| 58 | 58 |
| 59 // Objects & heap | 59 // Objects & heap |
| 60 #include "objects-inl.h" | 60 #include "objects-inl.h" |
| 61 #include "spaces-inl.h" | 61 #include "spaces-inl.h" |
| 62 #include "heap-inl.h" | 62 #include "heap-inl.h" |
| 63 #include "incremental-marking-inl.h" |
| 64 #include "mark-compact-inl.h" |
| 63 #include "log-inl.h" | 65 #include "log-inl.h" |
| 64 #include "cpu-profiler-inl.h" | 66 #include "cpu-profiler-inl.h" |
| 65 #include "handles-inl.h" | 67 #include "handles-inl.h" |
| 66 #include "isolate-inl.h" | |
| 67 | 68 |
| 68 namespace v8 { | 69 namespace v8 { |
| 69 namespace internal { | 70 namespace internal { |
| 70 | 71 |
| 71 class Deserializer; | 72 class Deserializer; |
| 72 | 73 |
| 73 class V8 : public AllStatic { | 74 class V8 : public AllStatic { |
| 74 public: | 75 public: |
| 75 // Global actions. | 76 // Global actions. |
| 76 | 77 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 // True if error has been signaled for current engine | 118 // True if error has been signaled for current engine |
| 118 // (reset to false if engine is restarted) | 119 // (reset to false if engine is restarted) |
| 119 static bool has_fatal_error_; | 120 static bool has_fatal_error_; |
| 120 // True if engine has been shut down | 121 // True if engine has been shut down |
| 121 // (reset if engine is restarted) | 122 // (reset if engine is restarted) |
| 122 static bool has_been_disposed_; | 123 static bool has_been_disposed_; |
| 123 // True if we are using the crankshaft optimizing compiler. | 124 // True if we are using the crankshaft optimizing compiler. |
| 124 static bool use_crankshaft_; | 125 static bool use_crankshaft_; |
| 125 }; | 126 }; |
| 126 | 127 |
| 128 |
| 129 // JavaScript defines two kinds of 'nil'. |
| 130 enum NilValue { kNullValue, kUndefinedValue }; |
| 131 |
| 132 |
| 133 // JavaScript defines two kinds of equality. |
| 134 enum EqualityKind { kStrictEquality, kNonStrictEquality }; |
| 135 |
| 136 |
| 127 } } // namespace v8::internal | 137 } } // namespace v8::internal |
| 128 | 138 |
| 129 namespace i = v8::internal; | 139 namespace i = v8::internal; |
| 130 | 140 |
| 131 #endif // V8_V8_H_ | 141 #endif // V8_V8_H_ |
| OLD | NEW |