| OLD | NEW |
| 1 // Copyright 2011 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 |
| 11 // with the distribution. | 11 // with the distribution. |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 // used for aligning data, it doesn't hurt to align on a greater value. | 100 // used for aligning data, it doesn't hurt to align on a greater value. |
| 101 const int kProcessorCacheLineSize = 64; | 101 const int kProcessorCacheLineSize = 64; |
| 102 | 102 |
| 103 // Constants relevant to double precision floating point numbers. | 103 // Constants relevant to double precision floating point numbers. |
| 104 // If looking only at the top 32 bits, the QNaN mask is bits 19 to 30. | 104 // If looking only at the top 32 bits, the QNaN mask is bits 19 to 30. |
| 105 const uint32_t kQuietNaNHighBitsMask = 0xfff << (51 - 32); | 105 const uint32_t kQuietNaNHighBitsMask = 0xfff << (51 - 32); |
| 106 | 106 |
| 107 | 107 |
| 108 // ----------------------------------------------------------------------------- | 108 // ----------------------------------------------------------------------------- |
| 109 // Forward declarations for frequently used classes | 109 // Forward declarations for frequently used classes |
| 110 // (sorted alphabetically) | |
| 111 | 110 |
| 112 class AccessorInfo; | 111 class AccessorInfo; |
| 113 class Allocation; | 112 class Allocation; |
| 114 class Arguments; | 113 class Arguments; |
| 115 class Assembler; | 114 class Assembler; |
| 116 class AssertNoAllocation; | 115 class AssertNoAllocation; |
| 117 class BreakableStatement; | |
| 118 class Code; | 116 class Code; |
| 119 class CodeGenerator; | 117 class CodeGenerator; |
| 120 class CodeStub; | 118 class CodeStub; |
| 121 class Context; | 119 class Context; |
| 122 class Debug; | 120 class Debug; |
| 123 class Debugger; | 121 class Debugger; |
| 124 class DebugInfo; | 122 class DebugInfo; |
| 125 class Descriptor; | 123 class Descriptor; |
| 126 class DescriptorArray; | 124 class DescriptorArray; |
| 127 class Expression; | |
| 128 class ExternalReference; | 125 class ExternalReference; |
| 129 class FixedArray; | 126 class FixedArray; |
| 130 class FunctionLiteral; | |
| 131 class FunctionTemplateInfo; | 127 class FunctionTemplateInfo; |
| 132 class MemoryChunk; | 128 class MemoryChunk; |
| 133 class SeededNumberDictionary; | 129 class SeededNumberDictionary; |
| 134 class UnseededNumberDictionary; | 130 class UnseededNumberDictionary; |
| 135 class StringDictionary; | 131 class StringDictionary; |
| 136 template <typename T> class Handle; | 132 template <typename T> class Handle; |
| 137 class Heap; | 133 class Heap; |
| 138 class HeapObject; | 134 class HeapObject; |
| 139 class IC; | 135 class IC; |
| 140 class InterceptorInfo; | 136 class InterceptorInfo; |
| 141 class IterationStatement; | |
| 142 class JSArray; | 137 class JSArray; |
| 143 class JSFunction; | 138 class JSFunction; |
| 144 class JSObject; | 139 class JSObject; |
| 145 class LargeObjectSpace; | 140 class LargeObjectSpace; |
| 146 class LookupResult; | 141 class LookupResult; |
| 147 class MacroAssembler; | 142 class MacroAssembler; |
| 148 class Map; | 143 class Map; |
| 149 class MapSpace; | 144 class MapSpace; |
| 150 class MarkCompactCollector; | 145 class MarkCompactCollector; |
| 151 class NewSpace; | 146 class NewSpace; |
| 152 class NodeVisitor; | |
| 153 class Object; | 147 class Object; |
| 154 class MaybeObject; | 148 class MaybeObject; |
| 155 class OldSpace; | 149 class OldSpace; |
| 156 class Property; | |
| 157 class Foreign; | 150 class Foreign; |
| 158 class RegExpNode; | |
| 159 struct RegExpCompileData; | |
| 160 class RegExpTree; | |
| 161 class RegExpCompiler; | |
| 162 class RegExpVisitor; | |
| 163 class Scope; | 151 class Scope; |
| 164 class ScopeInfo; | 152 class ScopeInfo; |
| 165 class Script; | 153 class Script; |
| 166 class Slot; | |
| 167 class Smi; | 154 class Smi; |
| 168 template <typename Config, class Allocator = FreeStoreAllocationPolicy> | 155 template <typename Config, class Allocator = FreeStoreAllocationPolicy> |
| 169 class SplayTree; | 156 class SplayTree; |
| 170 class Statement; | |
| 171 class String; | 157 class String; |
| 172 class Struct; | 158 class Struct; |
| 173 class SwitchStatement; | |
| 174 class AstVisitor; | |
| 175 class Variable; | 159 class Variable; |
| 176 class VariableProxy; | |
| 177 class RelocInfo; | 160 class RelocInfo; |
| 178 class Deserializer; | 161 class Deserializer; |
| 179 class MessageLocation; | 162 class MessageLocation; |
| 180 class ObjectGroup; | 163 class ObjectGroup; |
| 181 class TickSample; | 164 class TickSample; |
| 182 class VirtualMemory; | 165 class VirtualMemory; |
| 183 class Mutex; | 166 class Mutex; |
| 184 | 167 |
| 185 typedef bool (*WeakSlotCallback)(Object** pointer); | 168 typedef bool (*WeakSlotCallback)(Object** pointer); |
| 186 | 169 |
| (...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 565 | 548 |
| 566 enum ClearExceptionFlag { | 549 enum ClearExceptionFlag { |
| 567 KEEP_EXCEPTION, | 550 KEEP_EXCEPTION, |
| 568 CLEAR_EXCEPTION | 551 CLEAR_EXCEPTION |
| 569 }; | 552 }; |
| 570 | 553 |
| 571 | 554 |
| 572 } } // namespace v8::internal | 555 } } // namespace v8::internal |
| 573 | 556 |
| 574 #endif // V8_V8GLOBALS_H_ | 557 #endif // V8_V8GLOBALS_H_ |
| OLD | NEW |