diff options
| author | 2014-09-16 15:19:06 +0000 | |
|---|---|---|
| committer | 2014-09-16 15:19:06 +0000 | |
| commit | bace0378d720a1d2938ec7f6be17e2814671d20a (patch) | |
| tree | d986e10ad92b40e38f9098c486e12891b0ec4118 /compiler/optimizing/builder.h | |
| parent | 5733b35c23792834f3a2374003c109301a48867c (diff) | |
| parent | fbc695f9b8e2084697e19c1355ab925f99f0d235 (diff) | |
Merge "Revert "Revert "Implement suspend checks in new compiler."""
Diffstat (limited to 'compiler/optimizing/builder.h')
| -rw-r--r-- | compiler/optimizing/builder.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/optimizing/builder.h b/compiler/optimizing/builder.h index 170c42761a..e143786be7 100644 --- a/compiler/optimizing/builder.h +++ b/compiler/optimizing/builder.h @@ -54,7 +54,7 @@ class HGraphBuilder : public ValueObject { // Analyzes the dex instruction and adds HInstruction to the graph // to execute that instruction. Returns whether the instruction can // be handled. - bool AnalyzeDexInstruction(const Instruction& instruction, int32_t dex_offset); + bool AnalyzeDexInstruction(const Instruction& instruction, uint32_t dex_offset); // Finds all instructions that start a new block, and populates branch_targets_ with // the newly created blocks. @@ -70,6 +70,7 @@ class HGraphBuilder : public ValueObject { HLocal* GetLocalAt(int register_index) const; void UpdateLocal(int register_index, HInstruction* instruction) const; HInstruction* LoadLocal(int register_index, Primitive::Type type) const; + void PotentiallyAddSuspendCheck(int32_t target_offset, uint32_t dex_offset); // Temporarily returns whether the compiler supports the parameters // of the method. |