| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #include "vm/compiler.h" | 5 #include "vm/compiler.h" |
| 6 | 6 |
| 7 #include "vm/assembler.h" | 7 #include "vm/assembler.h" |
| 8 | 8 |
| 9 #include "vm/ast_printer.h" | 9 #include "vm/ast_printer.h" |
| 10 #include "vm/block_scheduler.h" | 10 #include "vm/block_scheduler.h" |
| (...skipping 1979 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1990 DEFINE_RUNTIME_ENTRY(CompileFunction, 1) { | 1990 DEFINE_RUNTIME_ENTRY(CompileFunction, 1) { |
| 1991 const Function& function = Function::CheckedHandle(arguments.ArgAt(0)); | 1991 const Function& function = Function::CheckedHandle(arguments.ArgAt(0)); |
| 1992 FATAL3("Precompilation missed function %s (%" Pd ", %s)\n", | 1992 FATAL3("Precompilation missed function %s (%" Pd ", %s)\n", |
| 1993 function.ToLibNamePrefixedQualifiedCString(), | 1993 function.ToLibNamePrefixedQualifiedCString(), |
| 1994 function.token_pos().value(), | 1994 function.token_pos().value(), |
| 1995 Function::KindToCString(function.kind())); | 1995 Function::KindToCString(function.kind())); |
| 1996 } | 1996 } |
| 1997 | 1997 |
| 1998 | 1998 |
| 1999 bool Compiler::IsBackgroundCompilation() { | 1999 bool Compiler::IsBackgroundCompilation() { |
| 2000 UNREACHABLE(); | |
| 2001 return false; | 2000 return false; |
| 2002 } | 2001 } |
| 2003 | 2002 |
| 2004 | 2003 |
| 2005 bool Compiler::CanOptimizeFunction(Thread* thread, const Function& function) { | 2004 bool Compiler::CanOptimizeFunction(Thread* thread, const Function& function) { |
| 2006 UNREACHABLE(); | 2005 UNREACHABLE(); |
| 2007 return false; | 2006 return false; |
| 2008 } | 2007 } |
| 2009 | 2008 |
| 2010 | 2009 |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2094 } | 2093 } |
| 2095 | 2094 |
| 2096 | 2095 |
| 2097 void BackgroundCompiler::EnsureInit(Thread* thread) { | 2096 void BackgroundCompiler::EnsureInit(Thread* thread) { |
| 2098 UNREACHABLE(); | 2097 UNREACHABLE(); |
| 2099 } | 2098 } |
| 2100 | 2099 |
| 2101 #endif // DART_PRECOMPILED_RUNTIME | 2100 #endif // DART_PRECOMPILED_RUNTIME |
| 2102 | 2101 |
| 2103 } // namespace dart | 2102 } // namespace dart |
| OLD | NEW |