| 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 410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 421 enum PropertyType { | 421 enum PropertyType { |
| 422 NORMAL = 0, // only in slow mode | 422 NORMAL = 0, // only in slow mode |
| 423 FIELD = 1, // only in fast mode | 423 FIELD = 1, // only in fast mode |
| 424 CONSTANT_FUNCTION = 2, // only in fast mode | 424 CONSTANT_FUNCTION = 2, // only in fast mode |
| 425 CALLBACKS = 3, | 425 CALLBACKS = 3, |
| 426 INTERCEPTOR = 4, // only in lookup results, not in descriptors. | 426 INTERCEPTOR = 4, // only in lookup results, not in descriptors. |
| 427 MAP_TRANSITION = 5, // only in fast mode | 427 MAP_TRANSITION = 5, // only in fast mode |
| 428 CONSTANT_TRANSITION = 6, // only in fast mode | 428 CONSTANT_TRANSITION = 6, // only in fast mode |
| 429 NULL_DESCRIPTOR = 7, // only in fast mode | 429 NULL_DESCRIPTOR = 7, // only in fast mode |
| 430 // All properties before MAP_TRANSITION are real. | 430 // All properties before MAP_TRANSITION are real. |
| 431 FIRST_PHANTOM_PROPERTY_TYPE = MAP_TRANSITION | 431 FIRST_PHANTOM_PROPERTY_TYPE = MAP_TRANSITION, |
| 432 // There are no IC stubs for NULL_DESCRIPTORS. Therefore, |
| 433 // NULL_DESCRIPTOR can be used as the type flag for IC stubs for |
| 434 // nonexistent properties. |
| 435 NONEXISTENT = NULL_DESCRIPTOR |
| 432 }; | 436 }; |
| 433 | 437 |
| 434 | 438 |
| 435 // Whether to remove map transitions and constant transitions from a | 439 // Whether to remove map transitions and constant transitions from a |
| 436 // DescriptorArray. | 440 // DescriptorArray. |
| 437 enum TransitionFlag { | 441 enum TransitionFlag { |
| 438 REMOVE_TRANSITIONS, | 442 REMOVE_TRANSITIONS, |
| 439 KEEP_TRANSITIONS | 443 KEEP_TRANSITIONS |
| 440 }; | 444 }; |
| 441 | 445 |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 599 CMOV = 15, // x86 | 603 CMOV = 15, // x86 |
| 600 RDTSC = 4, // x86 | 604 RDTSC = 4, // x86 |
| 601 CPUID = 10, // x86 | 605 CPUID = 10, // x86 |
| 602 VFP3 = 1, // ARM | 606 VFP3 = 1, // ARM |
| 603 ARMv7 = 2, // ARM | 607 ARMv7 = 2, // ARM |
| 604 SAHF = 0}; // x86 | 608 SAHF = 0}; // x86 |
| 605 | 609 |
| 606 } } // namespace v8::internal | 610 } } // namespace v8::internal |
| 607 | 611 |
| 608 #endif // V8_GLOBALS_H_ | 612 #endif // V8_GLOBALS_H_ |
| OLD | NEW |