| OLD | NEW |
| 1 // Copyright 2006-2009 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2009 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 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 317 class LargeObjectSpace; | 317 class LargeObjectSpace; |
| 318 template <typename T, class P = FreeStoreAllocationPolicy> class List; | 318 template <typename T, class P = FreeStoreAllocationPolicy> class List; |
| 319 class LookupResult; | 319 class LookupResult; |
| 320 class MacroAssembler; | 320 class MacroAssembler; |
| 321 class Map; | 321 class Map; |
| 322 class MapSpace; | 322 class MapSpace; |
| 323 class MarkCompactCollector; | 323 class MarkCompactCollector; |
| 324 class NewSpace; | 324 class NewSpace; |
| 325 class NodeVisitor; | 325 class NodeVisitor; |
| 326 class Object; | 326 class Object; |
| 327 class MaybeObject; |
| 327 class OldSpace; | 328 class OldSpace; |
| 328 class Property; | 329 class Property; |
| 329 class Proxy; | 330 class Proxy; |
| 330 class RegExpNode; | 331 class RegExpNode; |
| 331 struct RegExpCompileData; | 332 struct RegExpCompileData; |
| 332 class RegExpTree; | 333 class RegExpTree; |
| 333 class RegExpCompiler; | 334 class RegExpCompiler; |
| 334 class RegExpVisitor; | 335 class RegExpVisitor; |
| 335 class Scope; | 336 class Scope; |
| 336 template<class Allocator = FreeStoreAllocationPolicy> class ScopeInfo; | 337 template<class Allocator = FreeStoreAllocationPolicy> class ScopeInfo; |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 535 unsigned int sign :1; | 536 unsigned int sign :1; |
| 536 unsigned int exp :11; | 537 unsigned int exp :11; |
| 537 unsigned int man_high :20; | 538 unsigned int man_high :20; |
| 538 unsigned int man_low :32; | 539 unsigned int man_low :32; |
| 539 } bits; | 540 } bits; |
| 540 }; | 541 }; |
| 541 | 542 |
| 542 | 543 |
| 543 // AccessorCallback | 544 // AccessorCallback |
| 544 struct AccessorDescriptor { | 545 struct AccessorDescriptor { |
| 545 Object* (*getter)(Object* object, void* data); | 546 MaybeObject* (*getter)(Object* object, void* data); |
| 546 Object* (*setter)(JSObject* object, Object* value, void* data); | 547 MaybeObject* (*setter)(JSObject* object, Object* value, void* data); |
| 547 void* data; | 548 void* data; |
| 548 }; | 549 }; |
| 549 | 550 |
| 550 | 551 |
| 551 // Logging and profiling. | 552 // Logging and profiling. |
| 552 // A StateTag represents a possible state of the VM. When compiled with | 553 // A StateTag represents a possible state of the VM. When compiled with |
| 553 // ENABLE_VMSTATE_TRACKING, the logger maintains a stack of these. | 554 // ENABLE_VMSTATE_TRACKING, the logger maintains a stack of these. |
| 554 // Creating a VMState object enters a state by pushing on the stack, and | 555 // Creating a VMState object enters a state by pushing on the stack, and |
| 555 // destroying a VMState object leaves a state by popping the current state | 556 // destroying a VMState object leaves a state by popping the current state |
| 556 // from the stack. | 557 // from the stack. |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 708 CMOV = 15, // x86 | 709 CMOV = 15, // x86 |
| 709 RDTSC = 4, // x86 | 710 RDTSC = 4, // x86 |
| 710 CPUID = 10, // x86 | 711 CPUID = 10, // x86 |
| 711 VFP3 = 1, // ARM | 712 VFP3 = 1, // ARM |
| 712 ARMv7 = 2, // ARM | 713 ARMv7 = 2, // ARM |
| 713 SAHF = 0}; // x86 | 714 SAHF = 0}; // x86 |
| 714 | 715 |
| 715 } } // namespace v8::internal | 716 } } // namespace v8::internal |
| 716 | 717 |
| 717 #endif // V8_GLOBALS_H_ | 718 #endif // V8_GLOBALS_H_ |
| OLD | NEW |