diff options
| author | 2014-05-13 21:51:45 +0000 | |
|---|---|---|
| committer | 2014-05-13 21:51:47 +0000 | |
| commit | b720c4b7c6e484c9d0740d805c8d7c3dbeb2a545 (patch) | |
| tree | 5eb89df06f7baa0606571484ffcf0acf7c6427f2 /compiler/utils/assembler.h | |
| parent | 2757fa0194d96f18c8a276c76008a3aa0fe1df9f (diff) | |
| parent | eb8167a4f4d27fce0530f6724ab8032610cd146b (diff) | |
Merge "Add Handle/HandleScope and delete SirtRef."
Diffstat (limited to 'compiler/utils/assembler.h')
| -rw-r--r-- | compiler/utils/assembler.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/compiler/utils/assembler.h b/compiler/utils/assembler.h index 219c87fd79..19239e1256 100644 --- a/compiler/utils/assembler.h +++ b/compiler/utils/assembler.h @@ -453,20 +453,20 @@ class Assembler { virtual void GetCurrentThread(FrameOffset dest_offset, ManagedRegister scratch) = 0; - // Set up out_reg to hold a Object** into the SIRT, or to be NULL if the + // Set up out_reg to hold a Object** into the handle scope, or to be NULL if the // value is null and null_allowed. in_reg holds a possibly stale reference - // that can be used to avoid loading the SIRT entry to see if the value is + // that can be used to avoid loading the handle scope entry to see if the value is // NULL. - virtual void CreateSirtEntry(ManagedRegister out_reg, FrameOffset sirt_offset, + virtual void CreateHandleScopeEntry(ManagedRegister out_reg, FrameOffset handlescope_offset, ManagedRegister in_reg, bool null_allowed) = 0; - // Set up out_off to hold a Object** into the SIRT, or to be NULL if the + // Set up out_off to hold a Object** into the handle scope, or to be NULL if the // value is null and null_allowed. - virtual void CreateSirtEntry(FrameOffset out_off, FrameOffset sirt_offset, + virtual void CreateHandleScopeEntry(FrameOffset out_off, FrameOffset handlescope_offset, ManagedRegister scratch, bool null_allowed) = 0; - // src holds a SIRT entry (Object**) load this into dst - virtual void LoadReferenceFromSirt(ManagedRegister dst, + // src holds a handle scope entry (Object**) load this into dst + virtual void LoadReferenceFromHandleScope(ManagedRegister dst, ManagedRegister src) = 0; // Heap::VerifyObject on src. In some cases (such as a reference to this) we |