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

Unified Diff: runtime/vm/unit_test.h

Issue 1944503002: Adds more DBC assembler tests. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « runtime/vm/stack_frame.cc ('k') | runtime/vm/unit_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/unit_test.h
diff --git a/runtime/vm/unit_test.h b/runtime/vm/unit_test.h
index cbf4a06e32047e63536252d3264281aed7036b4a..60f405715e92ce1f89c97679a05636e5408fe086 100644
--- a/runtime/vm/unit_test.h
+++ b/runtime/vm/unit_test.h
@@ -224,20 +224,6 @@
Utils::High32Bits(bit_cast<int64_t, double>(double_arg)), \
0, 0, false, true))
#endif // defined(HOST_ARCH_ARM) || defined(HOST_ARCH_MIPS)
-#else
-// For DBC Assembler tests.
-#define EXECUTE_TEST_CODE_INTPTR(code) \
- Smi::Value(Smi::RawCast(Simulator::Current()->Call( \
- code, \
- Array::Handle(ArgumentsDescriptor::New(0)), \
- Array::Handle(Array::New(0)), \
- Thread::Current())))
-#define EXECUTE_TEST_CODE_BOOL(code) \
- (Bool::RawCast(Simulator::Current()->Call( \
- code, \
- Array::Handle(ArgumentsDescriptor::New(0)), \
- Array::Handle(Array::New(0)), \
- Thread::Current())) == Bool::True().raw())
#endif // defined(TARGET_ARCH_{ARM, ARM64, MIPS})
« no previous file with comments | « runtime/vm/stack_frame.cc ('k') | runtime/vm/unit_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698