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

Unified Diff: runtime/vm/flow_graph_optimizer.cc

Issue 11956004: Fix vm code base so that it can be built for --arch=simarm (no snapshot yet). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 11 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/flow_graph_inliner.cc ('k') | runtime/vm/instructions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_optimizer.cc
===================================================================
--- runtime/vm/flow_graph_optimizer.cc (revision 17245)
+++ runtime/vm/flow_graph_optimizer.cc (working copy)
@@ -1,4 +1,4 @@
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// Copyright (c) 2013, 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.
@@ -1323,7 +1323,7 @@
}
if ((recognized_kind == MethodRecognizer::kDoubleTruncate) ||
(recognized_kind == MethodRecognizer::kDoubleRound)) {
- if (!CPUFeatures::sse4_1_supported()) {
+ if (!CPUFeatures::double_truncate_round_supported()) {
return false;
}
AddCheckClass(call, call->ArgumentAt(0)->value()->Copy());
@@ -2018,6 +2018,17 @@
ArrayLengthData(Definition* array, Definition* array_length)
: array_(array), array_length_(array_length) { }
+ ArrayLengthData(const ArrayLengthData& other)
+ : ValueObject(),
+ array_(other.array_),
+ array_length_(other.array_length_) { }
+
+ ArrayLengthData& operator=(const ArrayLengthData& other) {
+ array_ = other.array_;
+ array_length_ = other.array_length_;
+ return *this;
+ }
+
Definition* array() const { return array_; }
Definition* array_length() const { return array_length_; }
« no previous file with comments | « runtime/vm/flow_graph_inliner.cc ('k') | runtime/vm/instructions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698