| 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 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 276 MEGAMORPHIC, | 276 MEGAMORPHIC, |
| 277 // A generic handler is installed and no extra typefeedback is recorded. | 277 // A generic handler is installed and no extra typefeedback is recorded. |
| 278 GENERIC, | 278 GENERIC, |
| 279 // Special state for debug break or step in prepare stubs. | 279 // Special state for debug break or step in prepare stubs. |
| 280 DEBUG_STUB | 280 DEBUG_STUB |
| 281 }; | 281 }; |
| 282 | 282 |
| 283 | 283 |
| 284 enum CallFunctionFlags { | 284 enum CallFunctionFlags { |
| 285 NO_CALL_FUNCTION_FLAGS, | 285 NO_CALL_FUNCTION_FLAGS, |
| 286 // The call target is cached in the instruction stream. |
| 287 RECORD_CALL_TARGET, |
| 286 CALL_AS_METHOD, | 288 CALL_AS_METHOD, |
| 287 // Always wrap the receiver and call to the JSFunction. Only use this flag | 289 // Always wrap the receiver and call to the JSFunction. Only use this flag |
| 288 // both the receiver type and the target method are statically known. | 290 // both the receiver type and the target method are statically known. |
| 289 WRAP_AND_CALL | 291 WRAP_AND_CALL |
| 290 }; | 292 }; |
| 291 | 293 |
| 292 | 294 |
| 293 enum CallConstructorFlags { | |
| 294 NO_CALL_CONSTRUCTOR_FLAGS, | |
| 295 // The call target is cached in the instruction stream. | |
| 296 RECORD_CONSTRUCTOR_TARGET | |
| 297 }; | |
| 298 | |
| 299 | |
| 300 enum InlineCacheHolderFlag { | 295 enum InlineCacheHolderFlag { |
| 301 OWN_MAP, // For fast properties objects. | 296 OWN_MAP, // For fast properties objects. |
| 302 PROTOTYPE_MAP // For slow properties objects (except GlobalObjects). | 297 PROTOTYPE_MAP // For slow properties objects (except GlobalObjects). |
| 303 }; | 298 }; |
| 304 | 299 |
| 305 | 300 |
| 306 // The Store Buffer (GC). | 301 // The Store Buffer (GC). |
| 307 typedef enum { | 302 typedef enum { |
| 308 kStoreBufferFullEvent, | 303 kStoreBufferFullEvent, |
| 309 kStoreBufferStartScanningPagesEvent, | 304 kStoreBufferStartScanningPagesEvent, |
| (...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 567 enum MinusZeroMode { | 562 enum MinusZeroMode { |
| 568 TREAT_MINUS_ZERO_AS_ZERO, | 563 TREAT_MINUS_ZERO_AS_ZERO, |
| 569 FAIL_ON_MINUS_ZERO | 564 FAIL_ON_MINUS_ZERO |
| 570 }; | 565 }; |
| 571 | 566 |
| 572 } } // namespace v8::internal | 567 } } // namespace v8::internal |
| 573 | 568 |
| 574 namespace i = v8::internal; | 569 namespace i = v8::internal; |
| 575 | 570 |
| 576 #endif // V8_V8GLOBALS_H_ | 571 #endif // V8_V8GLOBALS_H_ |
| OLD | NEW |