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

Unified Diff: test/cctest/interpreter/interpreter-tester.cc

Issue 2652893010: Interpreter tester should accept metadata instead of a vector (Closed)
Patch Set: Created 3 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 | « test/cctest/interpreter/interpreter-tester.h ('k') | test/cctest/interpreter/test-interpreter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/interpreter/interpreter-tester.cc
diff --git a/test/cctest/interpreter/interpreter-tester.cc b/test/cctest/interpreter/interpreter-tester.cc
index 3896ff53ada41671313b550ca250f378341734dd..2ebb888f21fb451011c9bbee9e18fdad2d1b1c6a 100644
--- a/test/cctest/interpreter/interpreter-tester.cc
+++ b/test/cctest/interpreter/interpreter-tester.cc
@@ -18,24 +18,25 @@ MaybeHandle<Object> CallInterpreter(Isolate* isolate,
InterpreterTester::InterpreterTester(
Isolate* isolate, const char* source, MaybeHandle<BytecodeArray> bytecode,
- MaybeHandle<TypeFeedbackVector> feedback_vector, const char* filter)
+ MaybeHandle<TypeFeedbackMetadata> feedback_metadata, const char* filter)
: isolate_(isolate),
source_(source),
bytecode_(bytecode),
- feedback_vector_(feedback_vector) {
+ feedback_metadata_(feedback_metadata) {
i::FLAG_ignition = true;
i::FLAG_always_opt = false;
}
InterpreterTester::InterpreterTester(
Isolate* isolate, Handle<BytecodeArray> bytecode,
- MaybeHandle<TypeFeedbackVector> feedback_vector, const char* filter)
- : InterpreterTester(isolate, nullptr, bytecode, feedback_vector, filter) {}
+ MaybeHandle<TypeFeedbackMetadata> feedback_metadata, const char* filter)
+ : InterpreterTester(isolate, nullptr, bytecode, feedback_metadata, filter) {
+}
InterpreterTester::InterpreterTester(Isolate* isolate, const char* source,
const char* filter)
: InterpreterTester(isolate, source, MaybeHandle<BytecodeArray>(),
- MaybeHandle<TypeFeedbackVector>(), filter) {}
+ MaybeHandle<TypeFeedbackMetadata>(), filter) {}
InterpreterTester::~InterpreterTester() {}
« no previous file with comments | « test/cctest/interpreter/interpreter-tester.h ('k') | test/cctest/interpreter/test-interpreter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698