Stop using a 0-sized array declaration (nonstandard extension) in JitCodeMap.

Tag #1244.
This commit is contained in:
Pale Moon
2017-12-17 15:44:38 +01:00
committed by Roy Tam
parent ffcd2f5997
commit 90c491ebc3
+1 -1
View File
@@ -942,7 +942,7 @@ class JitcodeIonTable
private:
/* Variable length payload section "below" here. */
uint32_t numRegions_;
uint32_t regionOffsets_[0];
uint32_t regionOffsets_[1];
const uint8_t* payloadEnd() const {
return reinterpret_cast<const uint8_t*>(this);