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

Unified Diff: runtime/vm/object_test.cc

Issue 1858283002: Initial SIMDBC interpreter. (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/object.cc ('k') | runtime/vm/os_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object_test.cc
diff --git a/runtime/vm/object_test.cc b/runtime/vm/object_test.cc
index 62718becd5238434a94c08f32ed970a0e056ad2f..aa75ee9feb125813453efabb7898a861229fccea 100644
--- a/runtime/vm/object_test.cc
+++ b/runtime/vm/object_test.cc
@@ -21,10 +21,6 @@ namespace dart {
DECLARE_FLAG(bool, write_protect_code);
-static RawLibrary* CreateDummyLibrary(const String& library_name) {
- return Library::New(library_name);
-}
-
static RawClass* CreateDummyClass(const String& class_name,
const Script& script) {
@@ -2690,6 +2686,12 @@ VM_TEST_CASE(CheckedHandle) {
}
+#if !defined(TARGET_ARCH_DBC)
+static RawLibrary* CreateDummyLibrary(const String& library_name) {
+ return Library::New(library_name);
+}
+
+
static RawFunction* CreateFunction(const char* name) {
Thread* thread = Thread::Current();
const String& class_name = String::Handle(Symbols::New(thread, "ownerClass"));
@@ -2966,6 +2968,7 @@ VM_TEST_CASE(PcDescriptorsLargeDeltas) {
EXPECT_EQ(false, iter.MoveNext());
}
+#endif // !defined(TARGET_ARCH_DBC)
static RawClass* CreateTestClass(const char* name) {
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/os_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698