DescriptionFix call of finalized virtual function.
In the RegExpUnparser::VisitText(RegExpText* that, void* data) function always RegExpUnparser::VisitAtom function called via that->elements()->at(i).data.u_atom->Accept(this, data); even if the type of the object is RegExpCharacterClass.
The problem comes up using g++ 4.7(.2, .3) sice r16232. Tested on MIPS and x64:
Program received signal SIGSEGV, Segmentation fault.
0x0000000000588928 in v8::internal::RegExpUnparser::VisitAtom(v8::internal::RegExpAtom*, void*) ()
BUG=
TEST=cctest/test-regexp/ParserRegression
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|