| Index: runtime/vm/compilation_trace.cc
|
| diff --git a/runtime/vm/compilation_trace.cc b/runtime/vm/compilation_trace.cc
|
| index 2fd2cf0b7b0c079733bfc470adfb2c1177bcc630..22be20ecfb42a17c553e2f220b97af2986f4a780 100644
|
| --- a/runtime/vm/compilation_trace.cc
|
| +++ b/runtime/vm/compilation_trace.cc
|
| @@ -19,7 +19,6 @@ CompilationTraceSaver::CompilationTraceSaver(Zone* zone)
|
| lib_(Library::Handle(zone)),
|
| uri_(String::Handle(zone)) {}
|
|
|
| -
|
| void CompilationTraceSaver::Visit(const Function& function) {
|
| if (!function.HasCode()) {
|
| return; // Not compiled.
|
| @@ -41,7 +40,6 @@ void CompilationTraceSaver::Visit(const Function& function) {
|
| func_name_.ToCString());
|
| }
|
|
|
| -
|
| CompilationTraceLoader::CompilationTraceLoader(Thread* thread)
|
| : thread_(thread),
|
| zone_(thread->zone()),
|
| @@ -56,7 +54,6 @@ CompilationTraceLoader::CompilationTraceLoader(Thread* thread)
|
| field_(Field::Handle(zone_)),
|
| error_(Object::Handle(zone_)) {}
|
|
|
| -
|
| static char* FindCharacter(char* str, char goal, char* limit) {
|
| while (str < limit) {
|
| if (*str == goal) {
|
| @@ -67,7 +64,6 @@ static char* FindCharacter(char* str, char goal, char* limit) {
|
| return NULL;
|
| }
|
|
|
| -
|
| RawObject* CompilationTraceLoader::CompileTrace(uint8_t* buffer,
|
| intptr_t size) {
|
| // First compile functions named in the trace.
|
| @@ -136,7 +132,6 @@ RawObject* CompilationTraceLoader::CompileTrace(uint8_t* buffer,
|
| return Object::null();
|
| }
|
|
|
| -
|
| // Use a fuzzy match to find the right function to compile. This allows a
|
| // compilation trace to remain mostly valid in the face of program changes, and
|
| // deals with implicit/dispatcher functions that don't have proper names.
|
| @@ -238,7 +233,6 @@ RawObject* CompilationTraceLoader::CompileTriple(const char* uri_cstr,
|
| return Object::null();
|
| }
|
|
|
| -
|
| RawObject* CompilationTraceLoader::CompileFunction(const Function& function) {
|
| if (function.is_abstract()) {
|
| return Object::null();
|
| @@ -246,7 +240,6 @@ RawObject* CompilationTraceLoader::CompileFunction(const Function& function) {
|
| return Compiler::CompileFunction(thread_, function);
|
| }
|
|
|
| -
|
| RawObject* CompilationTraceLoader::EvaluateInitializer(const Field& field) {
|
| LongJumpScope jump;
|
| if (setjmp(*jump.Set()) == 0) {
|
|
|