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

Unified Diff: runtime/vm/intermediate_language.h

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/instructions_arm.cc ('k') | runtime/vm/intermediate_language.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/intermediate_language.h
===================================================================
--- runtime/vm/intermediate_language.h (revision 17245)
+++ runtime/vm/intermediate_language.h (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.
@@ -1614,6 +1614,19 @@
RangeBoundary() : kind_(kUnknown), value_(0), offset_(0) { }
+ RangeBoundary(const RangeBoundary& other)
+ : ValueObject(),
+ kind_(other.kind_),
+ value_(other.value_),
+ offset_(other.offset_) { }
+
+ RangeBoundary& operator=(const RangeBoundary& other) {
+ kind_ = other.kind_;
+ value_ = other.value_;
+ offset_ = other.offset_;
+ return *this;
+ }
+
static RangeBoundary FromConstant(intptr_t val) {
return RangeBoundary(kConstant, val, 0);
}
@@ -4199,6 +4212,17 @@
explicit ShallowIterator(Environment* environment)
: environment_(environment), index_(0) { }
+ ShallowIterator(const ShallowIterator& other)
+ : ValueObject(),
+ environment_(other.environment_),
+ index_(other.index_) { }
+
+ ShallowIterator& operator=(const ShallowIterator& other) {
+ environment_ = other.environment_;
+ index_ = other.index_;
+ return *this;
+ }
+
Environment* environment() const { return environment_; }
void Advance() {
« no previous file with comments | « runtime/vm/instructions_arm.cc ('k') | runtime/vm/intermediate_language.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698