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

Unified Diff: runtime/vm/optimizer.h

Issue 2904543002: Fix misoptimization of 'is' test (Closed)
Patch Set: Remove inadvertent change Created 3 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: runtime/vm/optimizer.h
diff --git a/runtime/vm/optimizer.h b/runtime/vm/optimizer.h
new file mode 100644
index 0000000000000000000000000000000000000000..188dcbcd4d85581765b425415bcb8531bd30b1f9
--- /dev/null
+++ b/runtime/vm/optimizer.h
@@ -0,0 +1,23 @@
+// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+#ifndef RUNTIME_VM_OPTIMIZER_H_
+#define RUNTIME_VM_OPTIMIZER_H_
+
+#include "vm/globals.h"
+
+#include "vm/growable_array.h"
+
+namespace dart {
+
+class Optimizer {
+ public:
+ static bool TryExpandTestCidsResult(ZoneGrowableArray<intptr_t>* results,
Vyacheslav Egorov (Google) 2017/05/23 16:00:32 Maybe this function name needs to reflect more clo
erikcorry 2017/05/24 13:37:16 Done.
+ const AbstractType& type,
+ bool int_type_only);
+};
+
+} // namespace dart
+
+#endif // RUNTIME_VM_OPTIMIZER_H_

Powered by Google App Engine
This is Rietveld 408576698