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

Unified Diff: runtime/vm/intermediate_language.cc

Issue 10700111: Eliminate the type distinction between BindInstr and DoInstr. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Eliminate an unnecessary virtual function. Created 8 years, 5 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/intermediate_language.h ('k') | runtime/vm/intermediate_language_ia32.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/intermediate_language.cc
diff --git a/runtime/vm/intermediate_language.cc b/runtime/vm/intermediate_language.cc
index f7e2e7c1fe6cce7e7698f3b700120644ceeb8184..4bc2ec6d3107df1f41b712690c22ad1c0f9c2548 100644
--- a/runtime/vm/intermediate_language.cc
+++ b/runtime/vm/intermediate_language.cc
@@ -302,21 +302,6 @@ void ParameterInstr::SetInputAt(intptr_t i, Value* value) {
}
-intptr_t DoInstr::InputCount() const {
- return computation()->InputCount();
-}
-
-
-Value* DoInstr::InputAt(intptr_t i) const {
- return computation()->InputAt(i);
-}
-
-
-void DoInstr::SetInputAt(intptr_t i, Value* value) {
- computation()->SetInputAt(i, value);
-}
-
-
intptr_t GraphEntryInstr::InputCount() const {
return 0;
}
@@ -383,11 +368,6 @@ void Instruction::RecordAssignedVars(BitVector* assigned_vars) {
}
-void DoInstr::RecordAssignedVars(BitVector* assigned_vars) {
- computation()->RecordAssignedVars(assigned_vars);
-}
-
-
void BindInstr::RecordAssignedVars(BitVector* assigned_vars) {
computation()->RecordAssignedVars(assigned_vars);
}
« no previous file with comments | « runtime/vm/intermediate_language.h ('k') | runtime/vm/intermediate_language_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698