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, | |
288 CALL_AS_METHOD, | 286 CALL_AS_METHOD, |
289 // Always wrap the receiver and call to the JSFunction. Only use this flag | 287 // Always wrap the receiver and call to the JSFunction. Only use this flag |
290 // both the receiver type and the target method are statically known. | 288 // both the receiver type and the target method are statically known. |
291 WRAP_AND_CALL | 289 WRAP_AND_CALL |
292 }; | 290 }; |
293 | 291 |
294 | 292 |
| 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 |
295 enum InlineCacheHolderFlag { | 300 enum InlineCacheHolderFlag { |
296 OWN_MAP, // For fast properties objects. | 301 OWN_MAP, // For fast properties objects. |
297 PROTOTYPE_MAP // For slow properties objects (except GlobalObjects). | 302 PROTOTYPE_MAP // For slow properties objects (except GlobalObjects). |
298 }; | 303 }; |
299 | 304 |
300 | 305 |
301 // The Store Buffer (GC). | 306 // The Store Buffer (GC). |
302 typedef enum { | 307 typedef enum { |
303 kStoreBufferFullEvent, | 308 kStoreBufferFullEvent, |
304 kStoreBufferStartScanningPagesEvent, | 309 kStoreBufferStartScanningPagesEvent, |
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
562 enum MinusZeroMode { | 567 enum MinusZeroMode { |
563 TREAT_MINUS_ZERO_AS_ZERO, | 568 TREAT_MINUS_ZERO_AS_ZERO, |
564 FAIL_ON_MINUS_ZERO | 569 FAIL_ON_MINUS_ZERO |
565 }; | 570 }; |
566 | 571 |
567 } } // namespace v8::internal | 572 } } // namespace v8::internal |
568 | 573 |
569 namespace i = v8::internal; | 574 namespace i = v8::internal; |
570 | 575 |
571 #endif // V8_V8GLOBALS_H_ | 576 #endif // V8_V8GLOBALS_H_ |
OLD | NEW |