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 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 enum CheckType { | 282 enum CheckType { |
283 RECEIVER_MAP_CHECK, | 283 RECEIVER_MAP_CHECK, |
284 STRING_CHECK, | 284 STRING_CHECK, |
285 SYMBOL_CHECK, | 285 SYMBOL_CHECK, |
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, |
293 // Receiver might implicitly be the global objects. If it is, the | |
294 // hole is passed to the call function stub. | |
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, | |
298 // The call target is cached in the instruction stream. | 293 // The call target is cached in the instruction stream. |
299 RECORD_CALL_TARGET = 1 << 2 | 294 RECORD_CALL_TARGET |
300 }; | 295 }; |
301 | 296 |
302 | 297 |
303 enum InlineCacheHolderFlag { | 298 enum InlineCacheHolderFlag { |
304 OWN_MAP, // For fast properties objects. | 299 OWN_MAP, // For fast properties objects. |
305 PROTOTYPE_MAP // For slow properties objects (except GlobalObjects). | 300 PROTOTYPE_MAP // For slow properties objects (except GlobalObjects). |
306 }; | 301 }; |
307 | 302 |
308 | 303 |
309 // The Store Buffer (GC). | 304 // The Store Buffer (GC). |
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
576 | 571 |
577 | 572 |
578 enum MinusZeroMode { | 573 enum MinusZeroMode { |
579 TREAT_MINUS_ZERO_AS_ZERO, | 574 TREAT_MINUS_ZERO_AS_ZERO, |
580 FAIL_ON_MINUS_ZERO | 575 FAIL_ON_MINUS_ZERO |
581 }; | 576 }; |
582 | 577 |
583 } } // namespace v8::internal | 578 } } // namespace v8::internal |
584 | 579 |
585 #endif // V8_V8GLOBALS_H_ | 580 #endif // V8_V8GLOBALS_H_ |
OLD | NEW |