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

Side by Side Diff: src/globals.h

Issue 2028333002: Revert of Extend HasProperty stub with dictionary-mode and double-elements objects support. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 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
« no previous file with comments | « src/code-stub-assembler.cc ('k') | src/objects.h » ('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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_GLOBALS_H_ 5 #ifndef V8_GLOBALS_H_
6 #define V8_GLOBALS_H_ 6 #define V8_GLOBALS_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 626 matching lines...) Expand 10 before | Expand all | Expand 10 after
637 union IeeeDoubleBigEndianArchType { 637 union IeeeDoubleBigEndianArchType {
638 double d; 638 double d;
639 struct { 639 struct {
640 unsigned int sign :1; 640 unsigned int sign :1;
641 unsigned int exp :11; 641 unsigned int exp :11;
642 unsigned int man_high :20; 642 unsigned int man_high :20;
643 unsigned int man_low :32; 643 unsigned int man_low :32;
644 } bits; 644 } bits;
645 }; 645 };
646 646
647 #if V8_TARGET_LITTLE_ENDIAN
648 typedef IeeeDoubleLittleEndianArchType IeeeDoubleArchType;
649 const int kIeeeDoubleMantissaWordOffset = 0;
650 const int kIeeeDoubleExponentWordOffset = 4;
651 #else
652 typedef IeeeDoubleBigEndianArchType IeeeDoubleArchType;
653 const int kIeeeDoubleMantissaWordOffset = 4;
654 const int kIeeeDoubleExponentWordOffset = 0;
655 #endif
656 647
657 // AccessorCallback 648 // AccessorCallback
658 struct AccessorDescriptor { 649 struct AccessorDescriptor {
659 Object* (*getter)(Isolate* isolate, Object* object, void* data); 650 Object* (*getter)(Isolate* isolate, Object* object, void* data);
660 Object* (*setter)( 651 Object* (*setter)(
661 Isolate* isolate, JSObject* object, Object* value, void* data); 652 Isolate* isolate, JSObject* object, Object* value, void* data);
662 void* data; 653 void* data;
663 }; 654 };
664 655
665 656
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after
1080 return static_cast<uint32_t>(bit_cast<uintptr_t>(address) >> 1071 return static_cast<uint32_t>(bit_cast<uintptr_t>(address) >>
1081 kPointerSizeLog2); 1072 kPointerSizeLog2);
1082 } 1073 }
1083 1074
1084 } // namespace internal 1075 } // namespace internal
1085 } // namespace v8 1076 } // namespace v8
1086 1077
1087 namespace i = v8::internal; 1078 namespace i = v8::internal;
1088 1079
1089 #endif // V8_GLOBALS_H_ 1080 #endif // V8_GLOBALS_H_
OLDNEW
« no previous file with comments | « src/code-stub-assembler.cc ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698