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

Unified Diff: runtime/vm/unit_test.h

Issue 1307943008: Make default_parameter_values a ZoneGrowableArray instead of an array in new space (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Cleanup Created 5 years, 4 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/unit_test.h
diff --git a/runtime/vm/unit_test.h b/runtime/vm/unit_test.h
index 9c6682e812b92a62fcd54e0122028bb9d2275e14..c9c4812364bd5d6ff68fe2d3f5e42fd14e3880ac 100644
--- a/runtime/vm/unit_test.h
+++ b/runtime/vm/unit_test.h
@@ -454,8 +454,8 @@ class CodeGenTest {
SequenceNode* node_sequence() const { return node_sequence_; }
- void set_default_parameter_values(const Array& value) {
- default_parameter_values_ = value.raw();
+ void set_default_parameter_values(ZoneGrowableArray<const Instance*>* value) {
+ default_parameter_values_ = value;
}
// Compile test and set code in function.
@@ -464,7 +464,7 @@ class CodeGenTest {
private:
Function& function_;
SequenceNode* node_sequence_;
- Array& default_parameter_values_;
+ ZoneGrowableArray<const Instance*>* default_parameter_values_;
DISALLOW_COPY_AND_ASSIGN(CodeGenTest);
};
« runtime/vm/parser.cc ('K') | « runtime/vm/parser.cc ('k') | runtime/vm/unit_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698