summaryrefslogtreecommitdiff
path: root/compiler/optimizing/code_generator.cc
diff options
context:
space:
mode:
authorNicolas Geoffray <ngeoffray@google.com>2017-01-17 09:16:31 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-01-17 09:16:31 +0000
commite037a736be43c1e8ba9340dcbf1d17722356a37b (patch)
treef0bc7b4a78d04376b042046afbfd0677d766b523 /compiler/optimizing/code_generator.cc
parentdb54cc42859a8cc24ed1cda7f9b2f64b27dcb34a (diff)
parent5d37c152f21a0807459c6f53bc25e2d84f56d259 (diff)
Merge "Put inlined ArtMethod pointer in stack maps."
Diffstat (limited to 'compiler/optimizing/code_generator.cc')
-rw-r--r--compiler/optimizing/code_generator.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/optimizing/code_generator.cc b/compiler/optimizing/code_generator.cc
index 6c680c8dc6..70c2738010 100644
--- a/compiler/optimizing/code_generator.cc
+++ b/compiler/optimizing/code_generator.cc
@@ -936,10 +936,10 @@ void CodeGenerator::EmitEnvironment(HEnvironment* environment, SlowPathCode* slo
if (environment->GetParent() != nullptr) {
// We emit the parent environment first.
EmitEnvironment(environment->GetParent(), slow_path);
- stack_map_stream_.BeginInlineInfoEntry(environment->GetMethodIdx(),
+ stack_map_stream_.BeginInlineInfoEntry(environment->GetMethod(),
environment->GetDexPc(),
- environment->GetInvokeType(),
- environment->Size());
+ environment->Size(),
+ &graph_->GetDexFile());
}
// Walk over the environment, and record the location of dex registers.