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

Side by Side Diff: runtime/vm/compiler.cc

Issue 1897083002: Precompilation: IsBackgroundCompiler() is now checked from various lookup routines. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698