Index: src/compiler/pipeline.h |
diff --git a/src/compiler/pipeline.h b/src/compiler/pipeline.h |
index d0284a61aac44cf28962e18ad060fda4b5b89e00..6a034b0ad2a95482274abdc0a53e3009d044ba5c 100644 |
--- a/src/compiler/pipeline.h |
+++ b/src/compiler/pipeline.h |
@@ -35,10 +35,10 @@ class Pipeline { |
// Run the pipeline on a machine graph, compute a new schedule and generate |
// code. |
- static Handle<Code> GenerateWASMCode(CompilationInfo* info, |
- CallDescriptor* call_descriptor, |
- Graph* graph, |
- SourcePositionTable* source_positions); |
+ static Handle<Code> GenerateWASMCode( |
+ CompilationInfo* info, CallDescriptor* call_descriptor, Graph* graph, |
+ SourcePositionTable* source_positions, |
+ Handle<Object> wasm_obj = Handle<Object>(), uint32_t func_index = 0); |
titzer
2016/04/22 13:21:07
Let's not have defaults for these last parameters.
Clemens Hammacher
2016/04/22 14:38:40
OK. They were only used from the tests anyway.
|
// Run the pipeline on a machine graph and generate code. The {schedule} must |
// be valid, hence the given {graph} does not need to be schedulable. |