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

Unified Diff: src/globals.h

Issue 1995453002: [stubs] Extend HasProperty stub with dictionary-mode and double-elements objects support. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebasing and cleanup Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: src/globals.h
diff --git a/src/globals.h b/src/globals.h
index 41f68b66e29635fc46365e0c13655510f2d98e6e..08876da2b30264a3f8f2e6b7e76c2492bd172033 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -631,6 +631,9 @@ union IeeeDoubleLittleEndianArchType {
unsigned int exp :11;
unsigned int sign :1;
} bits;
+
+ static const int kMantissaWordOffset = 0;
+ static const int kExponentWordOffset = 4;
};
@@ -642,8 +645,16 @@ union IeeeDoubleBigEndianArchType {
unsigned int man_high :20;
unsigned int man_low :32;
} bits;
+
+ static const int kMantissaWordOffset = 4;
+ static const int kExponentWordOffset = 0;
};
+#if V8_TARGET_LITTLE_ENDIAN
+typedef IeeeDoubleLittleEndianArchType IeeeDoubleArchType;
+#else
+typedef IeeeDoubleBigEndianArchType IeeeDoubleArchType;
+#endif
// AccessorCallback
struct AccessorDescriptor {

Powered by Google App Engine
This is Rietveld 408576698