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

Unified Diff: test/cctest/compiler/graph-builder-tester.h

Issue 1423923003: Removed the dependency of the test RunComputedCodeObject from RawMachineAssemblerTester. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: GraphBuilderTester is used now instead of copying the code from RawMachineAssemblerTester Created 5 years, 2 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 | « no previous file | test/cctest/compiler/test-run-machops.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/compiler/graph-builder-tester.h
diff --git a/test/cctest/compiler/graph-builder-tester.h b/test/cctest/compiler/graph-builder-tester.h
index e0c59420c29c78855b675ffd5e9904ef02c3a081..dba4369bd149d9c0eb96ec02f3d5228ab3110834 100644
--- a/test/cctest/compiler/graph-builder-tester.h
+++ b/test/cctest/compiler/graph-builder-tester.h
@@ -229,6 +229,11 @@ class GraphBuilderTester : public HandleAndZoneScope,
return MakeNode(op, value_input_count, value_inputs);
}
+ Handle<Code> GetCode() {
+ Generate();
+ return code_.ToHandleChecked();
+ }
+
protected:
Node* MakeNode(const Operator* op, int value_input_count,
Node** value_inputs) {
« no previous file with comments | « no previous file | test/cctest/compiler/test-run-machops.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698