OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 | 295 |
296 | 296 |
297 enum CheckType { | 297 enum CheckType { |
298 RECEIVER_MAP_CHECK, | 298 RECEIVER_MAP_CHECK, |
299 STRING_CHECK, | 299 STRING_CHECK, |
300 NUMBER_CHECK, | 300 NUMBER_CHECK, |
301 BOOLEAN_CHECK | 301 BOOLEAN_CHECK |
302 }; | 302 }; |
303 | 303 |
304 | 304 |
305 enum InLoopFlag { | |
306 NOT_IN_LOOP, | |
307 IN_LOOP | |
308 }; | |
309 | |
310 | |
311 enum CallFunctionFlags { | 305 enum CallFunctionFlags { |
312 NO_CALL_FUNCTION_FLAGS = 0, | 306 NO_CALL_FUNCTION_FLAGS = 0, |
313 // Receiver might implicitly be the global objects. If it is, the | 307 // Receiver might implicitly be the global objects. If it is, the |
314 // hole is passed to the call function stub. | 308 // hole is passed to the call function stub. |
315 RECEIVER_MIGHT_BE_IMPLICIT = 1 << 0 | 309 RECEIVER_MIGHT_BE_IMPLICIT = 1 << 0 |
316 }; | 310 }; |
317 | 311 |
318 | 312 |
319 enum InlineCacheHolderFlag { | 313 enum InlineCacheHolderFlag { |
320 OWN_MAP, // For fast properties objects. | 314 OWN_MAP, // For fast properties objects. |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
512 static const uint32_t kNaNOrInfinityLowerBoundUpper32 = 0x7FF00000; | 506 static const uint32_t kNaNOrInfinityLowerBoundUpper32 = 0x7FF00000; |
513 | 507 |
514 const uint64_t kHoleNanInt64 = | 508 const uint64_t kHoleNanInt64 = |
515 (static_cast<uint64_t>(kHoleNanUpper32) << 32) | kHoleNanLower32; | 509 (static_cast<uint64_t>(kHoleNanUpper32) << 32) | kHoleNanLower32; |
516 const uint64_t kLastNonNaNInt64 = | 510 const uint64_t kLastNonNaNInt64 = |
517 (static_cast<uint64_t>(kNaNOrInfinityLowerBoundUpper32) << 32); | 511 (static_cast<uint64_t>(kNaNOrInfinityLowerBoundUpper32) << 32); |
518 | 512 |
519 } } // namespace v8::internal | 513 } } // namespace v8::internal |
520 | 514 |
521 #endif // V8_V8GLOBALS_H_ | 515 #endif // V8_V8GLOBALS_H_ |
OLD | NEW |