| 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 445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 456 IN_LOOP | 456 IN_LOOP |
| 457 }; | 457 }; |
| 458 | 458 |
| 459 | 459 |
| 460 enum CallFunctionFlags { | 460 enum CallFunctionFlags { |
| 461 NO_CALL_FUNCTION_FLAGS = 0, | 461 NO_CALL_FUNCTION_FLAGS = 0, |
| 462 RECEIVER_MIGHT_BE_VALUE = 1 << 0 // Receiver might not be a JSObject. | 462 RECEIVER_MIGHT_BE_VALUE = 1 << 0 // Receiver might not be a JSObject. |
| 463 }; | 463 }; |
| 464 | 464 |
| 465 | 465 |
| 466 enum InlineCacheHolderFlag { |
| 467 OWN_MAP, // For fast properties objects. |
| 468 PROTOTYPE_MAP // For slow properties objects (except GlobalObjects). |
| 469 }; |
| 470 |
| 471 |
| 466 // Type of properties. | 472 // Type of properties. |
| 467 // Order of properties is significant. | 473 // Order of properties is significant. |
| 468 // Must fit in the BitField PropertyDetails::TypeField. | 474 // Must fit in the BitField PropertyDetails::TypeField. |
| 469 // A copy of this is in mirror-debugger.js. | 475 // A copy of this is in mirror-debugger.js. |
| 470 enum PropertyType { | 476 enum PropertyType { |
| 471 NORMAL = 0, // only in slow mode | 477 NORMAL = 0, // only in slow mode |
| 472 FIELD = 1, // only in fast mode | 478 FIELD = 1, // only in fast mode |
| 473 CONSTANT_FUNCTION = 2, // only in fast mode | 479 CONSTANT_FUNCTION = 2, // only in fast mode |
| 474 CALLBACKS = 3, | 480 CALLBACKS = 3, |
| 475 INTERCEPTOR = 4, // only in lookup results, not in descriptors. | 481 INTERCEPTOR = 4, // only in lookup results, not in descriptors. |
| (...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 654 CMOV = 15, // x86 | 660 CMOV = 15, // x86 |
| 655 RDTSC = 4, // x86 | 661 RDTSC = 4, // x86 |
| 656 CPUID = 10, // x86 | 662 CPUID = 10, // x86 |
| 657 VFP3 = 1, // ARM | 663 VFP3 = 1, // ARM |
| 658 ARMv7 = 2, // ARM | 664 ARMv7 = 2, // ARM |
| 659 SAHF = 0}; // x86 | 665 SAHF = 0}; // x86 |
| 660 | 666 |
| 661 } } // namespace v8::internal | 667 } } // namespace v8::internal |
| 662 | 668 |
| 663 #endif // V8_GLOBALS_H_ | 669 #endif // V8_GLOBALS_H_ |
| OLD | NEW |