Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(362)

Side by Side Diff: src/v8globals.h

Issue 7307030: Implement ICs for FastDoubleArray loads and stores (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: fix asserts Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/stub-cache.h ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 489 matching lines...) Expand 10 before | Expand all | Expand 10 after
500 }; 500 };
501 501
502 502
503 // Used to specify whether a receiver is implicitly or explicitly 503 // Used to specify whether a receiver is implicitly or explicitly
504 // provided to a call. 504 // provided to a call.
505 enum CallKind { 505 enum CallKind {
506 CALL_AS_METHOD = 0, 506 CALL_AS_METHOD = 0,
507 CALL_AS_FUNCTION 507 CALL_AS_FUNCTION
508 }; 508 };
509 509
510
511 static const uint32_t kHoleNanUpper32 = 0x7FFFFFFF;
512 static const uint32_t kHoleNanLower32 = 0xFFFFFFFF;
513 static const uint32_t kCanonicalNonHoleNanUpper32 = 0x7FF10000;
514 static const uint32_t kCanonicalNonHoleNanLower32 = 0xFFFFFFFF;
515 static const uint32_t kNaNOrInfinityLowerBoundUpper32 = 0x7FF00000;
516
517 const uint64_t kHoleNanInt64 =
518 (static_cast<uint64_t>(kHoleNanUpper32) << 32) | kHoleNanLower32;
519 const uint64_t kCanonicalNonHoleNanInt64 =
520 (static_cast<uint64_t>(kCanonicalNonHoleNanUpper32) << 32) |
521 kCanonicalNonHoleNanLower32;
522 const uint64_t kLastNonNaNInt64 =
523 (static_cast<uint64_t>(kNaNOrInfinityLowerBoundUpper32) << 32);
524
510 } } // namespace v8::internal 525 } } // namespace v8::internal
511 526
512 #endif // V8_V8GLOBALS_H_ 527 #endif // V8_V8GLOBALS_H_
OLDNEW
« no previous file with comments | « src/stub-cache.h ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698