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 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 NUMBER_CHECK, | 286 NUMBER_CHECK, |
287 BOOLEAN_CHECK | 287 BOOLEAN_CHECK |
288 }; | 288 }; |
289 | 289 |
290 | 290 |
291 enum CallFunctionFlags { | 291 enum CallFunctionFlags { |
292 NO_CALL_FUNCTION_FLAGS = 0, | 292 NO_CALL_FUNCTION_FLAGS = 0, |
293 // Receiver might implicitly be the global objects. If it is, the | 293 // Receiver might implicitly be the global objects. If it is, the |
294 // hole is passed to the call function stub. | 294 // hole is passed to the call function stub. |
295 RECEIVER_MIGHT_BE_IMPLICIT = 1 << 0, | 295 RECEIVER_MIGHT_BE_IMPLICIT = 1 << 0, |
| 296 // Receiver is implicit and the hole has been passed to the stub. |
| 297 RECEIVER_IS_IMPLICIT = 1 << 1, |
296 // The call target is cached in the instruction stream. | 298 // The call target is cached in the instruction stream. |
297 RECORD_CALL_TARGET = 1 << 1 | 299 RECORD_CALL_TARGET = 1 << 2 |
298 }; | 300 }; |
299 | 301 |
300 | 302 |
301 enum InlineCacheHolderFlag { | 303 enum InlineCacheHolderFlag { |
302 OWN_MAP, // For fast properties objects. | 304 OWN_MAP, // For fast properties objects. |
303 PROTOTYPE_MAP // For slow properties objects (except GlobalObjects). | 305 PROTOTYPE_MAP // For slow properties objects (except GlobalObjects). |
304 }; | 306 }; |
305 | 307 |
306 | 308 |
307 // The Store Buffer (GC). | 309 // The Store Buffer (GC). |
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
571 | 573 |
572 | 574 |
573 enum MinusZeroMode { | 575 enum MinusZeroMode { |
574 TREAT_MINUS_ZERO_AS_ZERO, | 576 TREAT_MINUS_ZERO_AS_ZERO, |
575 FAIL_ON_MINUS_ZERO | 577 FAIL_ON_MINUS_ZERO |
576 }; | 578 }; |
577 | 579 |
578 } } // namespace v8::internal | 580 } } // namespace v8::internal |
579 | 581 |
580 #endif // V8_V8GLOBALS_H_ | 582 #endif // V8_V8GLOBALS_H_ |
OLD | NEW |