diff options
| author | 2014-04-16 15:18:13 +0000 | |
|---|---|---|
| committer | 2014-04-16 15:18:14 +0000 | |
| commit | b94fae66dac14be955c68028447cdad84ee22bf9 (patch) | |
| tree | c6af9a1d373b4f8763c9001b8e81c9ae772011ab /runtime/instruction_set.h | |
| parent | 2faf284e072230d4fd447955fa72ac4d9a3b51a0 (diff) | |
| parent | af13ad9fd18b6f75fe82e7995224c55654594f93 (diff) | |
Merge "Centralize instruction-set pointer-size, alignment, 64b-width code in instruction_set.h/cc"
Diffstat (limited to 'runtime/instruction_set.h')
| -rw-r--r-- | runtime/instruction_set.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/instruction_set.h b/runtime/instruction_set.h index a08becfb76..c746e06307 100644 --- a/runtime/instruction_set.h +++ b/runtime/instruction_set.h @@ -35,6 +35,10 @@ enum InstructionSet { }; std::ostream& operator<<(std::ostream& os, const InstructionSet& rhs); +size_t GetInstructionSetPointerSize(InstructionSet isa); +size_t GetInstructionSetAlignment(InstructionSet isa); +bool Is64BitInstructionSet(InstructionSet isa); + #if defined(__arm__) static constexpr InstructionSet kRuntimeISA = kArm; #elif defined(__aarch64__) |