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 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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 = 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, |
dcarney
2014/01/13 18:35:03
can this be removed?
also, can CALL_AS_METHOD be
| |
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. | 296 // The call target is cached in the instruction stream. |
299 RECORD_CALL_TARGET = 1 << 2 | 297 RECORD_CALL_TARGET = 1 << 1 |
300 }; | 298 }; |
301 | 299 |
302 | 300 |
303 enum InlineCacheHolderFlag { | 301 enum InlineCacheHolderFlag { |
304 OWN_MAP, // For fast properties objects. | 302 OWN_MAP, // For fast properties objects. |
305 PROTOTYPE_MAP // For slow properties objects (except GlobalObjects). | 303 PROTOTYPE_MAP // For slow properties objects (except GlobalObjects). |
306 }; | 304 }; |
307 | 305 |
308 | 306 |
309 // The Store Buffer (GC). | 307 // The Store Buffer (GC). |
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
576 | 574 |
577 | 575 |
578 enum MinusZeroMode { | 576 enum MinusZeroMode { |
579 TREAT_MINUS_ZERO_AS_ZERO, | 577 TREAT_MINUS_ZERO_AS_ZERO, |
580 FAIL_ON_MINUS_ZERO | 578 FAIL_ON_MINUS_ZERO |
581 }; | 579 }; |
582 | 580 |
583 } } // namespace v8::internal | 581 } } // namespace v8::internal |
584 | 582 |
585 #endif // V8_V8GLOBALS_H_ | 583 #endif // V8_V8GLOBALS_H_ |
OLD | NEW |