set up interpreter after llvm
This gives a little more time for the LLVM compile to run. In practice, it's so little it doesn't matter, but I think I'd rather have this in than not. Change-Id: Ifd813ac7024a2ead306c40471a9046dbd482baaa Reviewed-on: https://skia-review.googlesource.com/c/skia/+/275302 Reviewed-by: Mike Klein <mtklein@google.com> Commit-Queue: Mike Klein <mtklein@google.com>
This commit is contained in:
parent
491df6ba72
commit
74055566bd
@ -2198,12 +2198,16 @@ namespace skvm {
|
||||
Program::Program(const std::vector<OptimizedInstruction>& interpreter,
|
||||
const std::vector<OptimizedInstruction>& jit,
|
||||
const std::vector<int>& strides,
|
||||
const char* debug_name) : Program(interpreter, strides) {
|
||||
const char* debug_name) : Program() {
|
||||
fImpl->strides = strides;
|
||||
#if 1 && defined(SKVM_LLVM)
|
||||
this->setupLLVM(interpreter, debug_name);
|
||||
#elif 1 && defined(SKVM_JIT)
|
||||
this->setupJIT(jit, debug_name);
|
||||
#endif
|
||||
|
||||
// Might as well do this after setupLLVM() to get a little more time to compile.
|
||||
this->setupInterpreter(interpreter);
|
||||
}
|
||||
|
||||
std::vector<InterpreterInstruction> Program::instructions() const { return fImpl->instructions; }
|
||||
|
Loading…
Reference in New Issue
Block a user