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 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 // A generic handler is installed and no extra typefeedback is recorded. | 266 // A generic handler is installed and no extra typefeedback is recorded. |
267 GENERIC, | 267 GENERIC, |
268 // Special state for debug break or step in prepare stubs. | 268 // Special state for debug break or step in prepare stubs. |
269 DEBUG_STUB | 269 DEBUG_STUB |
270 }; | 270 }; |
271 | 271 |
272 | 272 |
273 enum CheckType { | 273 enum CheckType { |
274 RECEIVER_MAP_CHECK, | 274 RECEIVER_MAP_CHECK, |
275 STRING_CHECK, | 275 STRING_CHECK, |
| 276 SYMBOL_CHECK, |
276 NUMBER_CHECK, | 277 NUMBER_CHECK, |
277 BOOLEAN_CHECK | 278 BOOLEAN_CHECK |
278 }; | 279 }; |
279 | 280 |
280 | 281 |
281 enum CallFunctionFlags { | 282 enum CallFunctionFlags { |
282 NO_CALL_FUNCTION_FLAGS = 0, | 283 NO_CALL_FUNCTION_FLAGS = 0, |
283 // Receiver might implicitly be the global objects. If it is, the | 284 // Receiver might implicitly be the global objects. If it is, the |
284 // hole is passed to the call function stub. | 285 // hole is passed to the call function stub. |
285 RECEIVER_MIGHT_BE_IMPLICIT = 1 << 0, | 286 RECEIVER_MIGHT_BE_IMPLICIT = 1 << 0, |
286 // The call target is cached in the instruction stream. | 287 // The call target is cached in the instruction stream. |
287 RECORD_CALL_TARGET = 1 << 1 | 288 RECORD_CALL_TARGET = 1 << 1 |
288 }; | 289 }; |
289 | 290 |
290 | 291 |
291 enum InlineCacheHolderFlag { | 292 enum InlineCacheHolderFlag { |
292 OWN_MAP, // For fast properties objects. | 293 OWN_MAP, // For fast properties objects. |
293 PROTOTYPE_MAP // For slow properties objects (except GlobalObjects). | 294 DELEGATE_MAP // For slow properties objects (except GlobalObjects). |
294 }; | 295 }; |
295 | 296 |
296 | 297 |
297 // The Store Buffer (GC). | 298 // The Store Buffer (GC). |
298 typedef enum { | 299 typedef enum { |
299 kStoreBufferFullEvent, | 300 kStoreBufferFullEvent, |
300 kStoreBufferStartScanningPagesEvent, | 301 kStoreBufferStartScanningPagesEvent, |
301 kStoreBufferScanningPageEvent | 302 kStoreBufferScanningPageEvent |
302 } StoreBufferEvent; | 303 } StoreBufferEvent; |
303 | 304 |
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
566 | 567 |
567 enum ClearExceptionFlag { | 568 enum ClearExceptionFlag { |
568 KEEP_EXCEPTION, | 569 KEEP_EXCEPTION, |
569 CLEAR_EXCEPTION | 570 CLEAR_EXCEPTION |
570 }; | 571 }; |
571 | 572 |
572 | 573 |
573 } } // namespace v8::internal | 574 } } // namespace v8::internal |
574 | 575 |
575 #endif // V8_V8GLOBALS_H_ | 576 #endif // V8_V8GLOBALS_H_ |
OLD | NEW |