com.android.dx.rop.code.BasicBlock.getLabel()方法的使用及代码示例

x33g5p2x  于2022-01-17 转载在 其他  
字(5.4k)|赞(0)|评价(0)|浏览(65)

本文整理了Java中com.android.dx.rop.code.BasicBlock.getLabel()方法的一些代码示例,展示了BasicBlock.getLabel()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。BasicBlock.getLabel()方法的具体详情如下:
包路径:com.android.dx.rop.code.BasicBlock
类名称:BasicBlock
方法名:getLabel

BasicBlock.getLabel介绍

[英]Gets the target label of this block.
[中]获取此块的目标标签。

代码示例

代码示例来源:origin: nikita36078/J2ME-Loader

/**
 * Gets the instance for the start of the given block.
 *
 * @param block {@code non-null;} the block in question
 * @return {@code non-null;} the appropriate instance
 */
public CodeAddress getStart(BasicBlock block) {
  return starts[block.getLabel()];
}

代码示例来源:origin: nikita36078/J2ME-Loader

/**
 * Gets the instance for the final instruction of the given block.
 *
 * @param block {@code non-null;} the block in question
 * @return {@code non-null;} the appropriate instance
 */
public CodeAddress getLast(BasicBlock block) {
  return lasts[block.getLabel()];
}

代码示例来源:origin: nikita36078/J2ME-Loader

/**
 * Gets the instance for the end (address after the final instruction)
 * of the given block.
 *
 * @param block {@code non-null;} the block in question
 * @return {@code non-null;} the appropriate instance
 */
public CodeAddress getEnd(BasicBlock block) {
  return ends[block.getLabel()];
}

代码示例来源:origin: com.google.dexmaker/dexmaker-dx

/**
 * Gets the instance for the final instruction of the given block.
 *
 * @param block {@code non-null;} the block in question
 * @return {@code non-null;} the appropriate instance
 */
public CodeAddress getLast(BasicBlock block) {
  return lasts[block.getLabel()];
}

代码示例来源:origin: com.google.android.tools/dx

/**
 * Gets the instance for the final instruction of the given block.
 *
 * @param block {@code non-null;} the block in question
 * @return {@code non-null;} the appropriate instance
 */
public CodeAddress getLast(BasicBlock block) {
  return lasts[block.getLabel()];
}

代码示例来源:origin: com.google.dexmaker/dexmaker-dx

/**
 * Gets the instance for the start of the given block.
 *
 * @param block {@code non-null;} the block in question
 * @return {@code non-null;} the appropriate instance
 */
public CodeAddress getStart(BasicBlock block) {
  return starts[block.getLabel()];
}

代码示例来源:origin: com.android.tools.build/builder

/**
 * Gets the instance for the final instruction of the given block.
 *
 * @param block {@code non-null;} the block in question
 * @return {@code non-null;} the appropriate instance
 */
public CodeAddress getLast(BasicBlock block) {
  return lasts[block.getLabel()];
}

代码示例来源:origin: com.jakewharton.android.repackaged/dalvik-dx

/**
 * Gets the instance for the end (address after the final instruction)
 * of the given block.
 *
 * @param block {@code non-null;} the block in question
 * @return {@code non-null;} the appropriate instance
 */
public CodeAddress getEnd(BasicBlock block) {
  return ends[block.getLabel()];
}

代码示例来源:origin: com.google.android.tools/dx

/**
 * Gets the instance for the start of the given block.
 *
 * @param block {@code non-null;} the block in question
 * @return {@code non-null;} the appropriate instance
 */
public CodeAddress getStart(BasicBlock block) {
  return starts[block.getLabel()];
}

代码示例来源:origin: com.android.tools.build/builder

/**
 * Gets the instance for the start of the given block.
 *
 * @param block {@code non-null;} the block in question
 * @return {@code non-null;} the appropriate instance
 */
public CodeAddress getStart(BasicBlock block) {
  return starts[block.getLabel()];
}

代码示例来源:origin: com.android/dx

/**
 * Gets the instance for the start of the given block.
 *
 * @param block {@code non-null;} the block in question
 * @return {@code non-null;} the appropriate instance
 */
public CodeAddress getStart(BasicBlock block) {
  return starts[block.getLabel()];
}

代码示例来源:origin: nikita36078/J2ME-Loader

/**
 * Gets the register set associated with the start of the given
 * block. This is just convenient shorthand for
 * {@code getStarts(block.getLabel())}.
 *
 * @param block {@code non-null;} the block in question
 * @return {@code non-null;} the associated register set
 */
public RegisterSpecSet getStarts(BasicBlock block) {
  return getStarts(block.getLabel());
}

代码示例来源:origin: nikita36078/J2ME-Loader

@Override
  public void visitBlock(BasicBlock b) {
    if (isSubroutineCaller(b)) {
      reachableSubroutineCallerLabels.add(b.getLabel());
    }
  }
});

代码示例来源:origin: nikita36078/J2ME-Loader

@Override
  public void visitBlock(BasicBlock b) {
    reachableLabels.add(b.getLabel());
  }
});

代码示例来源:origin: com.jakewharton.android.repackaged/dalvik-dx

@Override
  public void visitBlock(BasicBlock b) {
    if (isSubroutineCaller(b)) {
      reachableSubroutineCallerLabels.add(b.getLabel());
    }
  }
});

代码示例来源:origin: com.google.android.tools/dx

/**
 * Gets the register set associated with the start of the given
 * block. This is just convenient shorthand for
 * {@code getStarts(block.getLabel())}.
 *
 * @param block {@code non-null;} the block in question
 * @return {@code non-null;} the associated register set
 */
public RegisterSpecSet getStarts(BasicBlock block) {
  return getStarts(block.getLabel());
}

代码示例来源:origin: com.google.dexmaker/dexmaker-dx

/**
 * Gets the register set associated with the start of the given
 * block. This is just convenient shorthand for
 * {@code getStarts(block.getLabel())}.
 *
 * @param block {@code non-null;} the block in question
 * @return {@code non-null;} the associated register set
 */
public RegisterSpecSet getStarts(BasicBlock block) {
  return getStarts(block.getLabel());
}

代码示例来源:origin: com.jakewharton.android.repackaged/dalvik-dx

@Override
  public void visitBlock(BasicBlock b) {
    reachableLabels.add(b.getLabel());
  }
});

代码示例来源:origin: com.jakewharton.android.repackaged/dalvik-dx

/**
 * Gets the register set associated with the start of the given
 * block. This is just convenient shorthand for
 * {@code getStarts(block.getLabel())}.
 *
 * @param block {@code non-null;} the block in question
 * @return {@code non-null;} the associated register set
 */
public RegisterSpecSet getStarts(BasicBlock block) {
  return getStarts(block.getLabel());
}

代码示例来源:origin: com.android.tools.build/builder

public void visitBlock(BasicBlock b) {
    if (isSubroutineCaller(b)) {
      reachableSubroutineCallerLabels.add(b.getLabel());
    }
  }
});

相关文章