Make ParameterTraits specializations for 32-bit integers valid for all arches.
TEST= BUG= Review URL: https://codereview.chromium.org/1031113002 Cr-Commit-Position: refs/heads/master@{#27441}
This commit is contained in:
parent
38a719f965
commit
30dcf800df
@ -128,7 +128,6 @@ struct ParameterTraits<T*> {
|
||||
static uintptr_t Cast(void* r) { return reinterpret_cast<uintptr_t>(r); }
|
||||
};
|
||||
|
||||
#if V8_TARGET_ARCH_MIPS64
|
||||
// Additional template specialization required for mips64 to sign-extend
|
||||
// parameters defined by calling convention.
|
||||
template <>
|
||||
@ -142,7 +141,6 @@ struct ParameterTraits<uint32_t> {
|
||||
return static_cast<int64_t>(static_cast<int32_t>(r));
|
||||
}
|
||||
};
|
||||
#endif
|
||||
|
||||
class CallHelper {
|
||||
public:
|
||||
|
Loading…
Reference in New Issue
Block a user