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

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: review feedback 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
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
516 const uint64_t kHoleNanInt64 =
517 (static_cast<uint64_t>(kHoleNanUpper32) << 32) | kHoleNanLower32;
518 const uint64_t kCanonicalNonHoleNanInt64 =
519 (static_cast<uint64_t>(kCanonicalNonHoleNanUpper32) << 32) |
520 kCanonicalNonHoleNanLower32;
521
510 } } // namespace v8::internal 522 } } // namespace v8::internal
511 523
512 #endif // V8_V8GLOBALS_H_ 524 #endif // V8_V8GLOBALS_H_
OLDNEW
« src/ia32/stub-cache-ia32.cc ('K') | « src/stub-cache.h ('k') | src/x64/stub-cache-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698