Optimizing: Use dex pc 0 for pattern substitution-generated IGET.

In the read barrier configuration, HInstanceFieldGet needs
a slow-path with a runtime call with an associated stack map
and we assert that we have a valid dex pc for stack maps.
Fix the pattern substitution-generated HInstanceFieldGet to
use the valid, if bogus, dex pc 0.

Bug: 26854537
Bug: 12687968

Change-Id: I9f379ea530ce3f89af8db40169a6c41b525abbd7
diff --git a/compiler/optimizing/inliner.cc b/compiler/optimizing/inliner.cc
index 51fef7c..a839d2d 100644
--- a/compiler/optimizing/inliner.cc
+++ b/compiler/optimizing/inliner.cc
@@ -669,7 +669,9 @@
       resolved_field->GetDeclaringClass()->GetDexClassDefIndex(),
       *resolved_method->GetDexFile(),
       dex_cache,
-      kNoDexPc);
+      // Read barrier generates a runtime call in slow path and we need a valid
+      // dex pc for the associated stack map. 0 is bogus but valid. Bug: 26854537.
+      /* dex_pc */ 0);
   if (iget->GetType() == Primitive::kPrimNot) {
     ReferenceTypePropagation rtp(graph_, handles_);
     rtp.Visit(iget);
@@ -696,7 +698,9 @@
       resolved_field->GetDeclaringClass()->GetDexClassDefIndex(),
       *resolved_method->GetDexFile(),
       dex_cache,
-      kNoDexPc);
+      // Read barrier generates a runtime call in slow path and we need a valid
+      // dex pc for the associated stack map. 0 is bogus but valid. Bug: 26854537.
+      /* dex_pc */ 0);
   return iput;
 }
 bool HInliner::TryBuildAndInline(ArtMethod* resolved_method,