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

Unified Diff: runtime/vm/compiler.cc

Issue 10928232: Deoptimization support in inlined code. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: runtime/vm/compiler.cc
diff --git a/runtime/vm/compiler.cc b/runtime/vm/compiler.cc
index df20d4d2653426c4e3b09e81352abb3cd95133ff..f12a10d5a49ba619853207c020c2d3fb1dad3d68 100644
--- a/runtime/vm/compiler.cc
+++ b/runtime/vm/compiler.cc
@@ -58,7 +58,7 @@ DEFINE_RUNTIME_ENTRY(CompileFunction, 1) {
// Returns an array indexed by deopt id, containing the extracted ICData.
-static RawArray* ExtractTypeFeedbackArray(const Code& code) {
+RawArray* Compiler::ExtractTypeFeedbackArray(const Code& code) {
ASSERT(!code.IsNull() && !code.is_optimized());
GrowableArray<intptr_t> deopt_ids;
const GrowableObjectArray& ic_data_objs =
@@ -157,7 +157,7 @@ static bool CompileParsedFunctionHelper(const ParsedFunction& parsed_function,
const Code& unoptimized_code =
Code::Handle(parsed_function.function().unoptimized_code());
isolate->set_ic_data_array(
- ExtractTypeFeedbackArray(unoptimized_code));
+ Compiler::ExtractTypeFeedbackArray(unoptimized_code));
}
}

Powered by Google App Engine
This is Rietveld 408576698