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:
dusan.milosavljevic 2015-03-25 07:21:20 -07:00 committed by Commit bot
parent 38a719f965
commit 30dcf800df

View File

@ -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: