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

Unified Diff: runtime/vm/snapshot_test.cc

Issue 2982823002: Option to truncate integers to 64 bits, part 2 (Closed)
Patch Set: Fixes for review comments Created 3 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 side-by-side diff with in-line comments
Download patch
« runtime/lib/integers.cc ('K') | « runtime/vm/regexp_assembler_ir.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/snapshot_test.cc
diff --git a/runtime/vm/snapshot_test.cc b/runtime/vm/snapshot_test.cc
index 3897786ffd189591996e0eed9233c352dfa0f505..0d387862100e1a7f6ca65d1b5264e2d4ded3ff34 100644
--- a/runtime/vm/snapshot_test.cc
+++ b/runtime/vm/snapshot_test.cc
@@ -401,6 +401,9 @@ TEST_CASE(SerializeCapability) {
}
TEST_CASE(SerializeBigint) {
+ if (Bigint::IsDisabled()) {
+ return;
+ }
// Write snapshot with object content.
const char* cstr = "0x270FFFFFFFFFFFFFD8F0";
const String& str = String::Handle(String::New(cstr));
@@ -473,6 +476,9 @@ void CheckBigint(const char* bigint_value) {
}
TEST_CASE(SerializeBigint2) {
+ if (Bigint::IsDisabled()) {
+ return;
+ }
CheckBigint("0x0");
CheckBigint("0x1");
CheckBigint("-0x1");
« runtime/lib/integers.cc ('K') | « runtime/vm/regexp_assembler_ir.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698