Commit 30dcf800 authored by dusan.milosavljevic's avatar dusan.milosavljevic Committed by Commit bot

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}
parent 38a719f9
...@@ -128,7 +128,6 @@ struct ParameterTraits<T*> { ...@@ -128,7 +128,6 @@ struct ParameterTraits<T*> {
static uintptr_t Cast(void* r) { return reinterpret_cast<uintptr_t>(r); } 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 // Additional template specialization required for mips64 to sign-extend
// parameters defined by calling convention. // parameters defined by calling convention.
template <> template <>
...@@ -142,7 +141,6 @@ struct ParameterTraits<uint32_t> { ...@@ -142,7 +141,6 @@ struct ParameterTraits<uint32_t> {
return static_cast<int64_t>(static_cast<int32_t>(r)); return static_cast<int64_t>(static_cast<int32_t>(r));
} }
}; };
#endif
class CallHelper { class CallHelper {
public: public:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment