| 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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 class AssertNoAllocation; | 119 class AssertNoAllocation; |
| 120 class Code; | 120 class Code; |
| 121 class CodeGenerator; | 121 class CodeGenerator; |
| 122 class CodeStub; | 122 class CodeStub; |
| 123 class Context; | 123 class Context; |
| 124 class Debug; | 124 class Debug; |
| 125 class Debugger; | 125 class Debugger; |
| 126 class DebugInfo; | 126 class DebugInfo; |
| 127 class Descriptor; | 127 class Descriptor; |
| 128 class DescriptorArray; | 128 class DescriptorArray; |
| 129 class TransitionArray; |
| 129 class ExternalReference; | 130 class ExternalReference; |
| 130 class FixedArray; | 131 class FixedArray; |
| 131 class FunctionTemplateInfo; | 132 class FunctionTemplateInfo; |
| 132 class MemoryChunk; | 133 class MemoryChunk; |
| 133 class SeededNumberDictionary; | 134 class SeededNumberDictionary; |
| 134 class UnseededNumberDictionary; | 135 class UnseededNumberDictionary; |
| 135 class StringDictionary; | 136 class StringDictionary; |
| 136 template <typename T> class Handle; | 137 template <typename T> class Handle; |
| 137 class Heap; | 138 class Heap; |
| 138 class HeapObject; | 139 class HeapObject; |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 304 kStoreBufferStartScanningPagesEvent, | 305 kStoreBufferStartScanningPagesEvent, |
| 305 kStoreBufferScanningPageEvent | 306 kStoreBufferScanningPageEvent |
| 306 } StoreBufferEvent; | 307 } StoreBufferEvent; |
| 307 | 308 |
| 308 | 309 |
| 309 typedef void (*StoreBufferCallback)(Heap* heap, | 310 typedef void (*StoreBufferCallback)(Heap* heap, |
| 310 MemoryChunk* page, | 311 MemoryChunk* page, |
| 311 StoreBufferEvent event); | 312 StoreBufferEvent event); |
| 312 | 313 |
| 313 | 314 |
| 314 // Whether to remove map transitions and constant transitions from a | |
| 315 // DescriptorArray. | |
| 316 enum TransitionFlag { | |
| 317 REMOVE_TRANSITIONS, | |
| 318 KEEP_TRANSITIONS | |
| 319 }; | |
| 320 | |
| 321 | |
| 322 // Union used for fast testing of specific double values. | 315 // Union used for fast testing of specific double values. |
| 323 union DoubleRepresentation { | 316 union DoubleRepresentation { |
| 324 double value; | 317 double value; |
| 325 int64_t bits; | 318 int64_t bits; |
| 326 DoubleRepresentation(double x) { value = x; } | 319 DoubleRepresentation(double x) { value = x; } |
| 327 }; | 320 }; |
| 328 | 321 |
| 329 | 322 |
| 330 // Union used for customized checking of the IEEE double types | 323 // Union used for customized checking of the IEEE double types |
| 331 // inlined within v8 runtime, rather than going to the underlying | 324 // inlined within v8 runtime, rather than going to the underlying |
| (...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 553 | 546 |
| 554 enum ClearExceptionFlag { | 547 enum ClearExceptionFlag { |
| 555 KEEP_EXCEPTION, | 548 KEEP_EXCEPTION, |
| 556 CLEAR_EXCEPTION | 549 CLEAR_EXCEPTION |
| 557 }; | 550 }; |
| 558 | 551 |
| 559 | 552 |
| 560 } } // namespace v8::internal | 553 } } // namespace v8::internal |
| 561 | 554 |
| 562 #endif // V8_V8GLOBALS_H_ | 555 #endif // V8_V8GLOBALS_H_ |
| OLD | NEW |