Changeset 209642 in webkit for trunk/Source/JavaScriptCore/wasm/WasmModuleParser.cpp
- Timestamp:
- Dec 9, 2016, 6:34:02 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/wasm/WasmModuleParser.cpp
r209630 r209642 304 304 bool ModuleParser::parseTable() 305 305 { 306 // FIXME 306 // FIXME implement table https://bugs.webkit.org/show_bug.cgi?id=164135 307 RELEASE_ASSERT_NOT_REACHED(); 307 308 return true; 308 309 } … … 366 367 { 367 368 // FIXME https://bugs.webkit.org/show_bug.cgi?id=164133 369 RELEASE_ASSERT_NOT_REACHED(); 368 370 return true; 369 371 } … … 416 418 bool ModuleParser::parseStart() 417 419 { 420 uint32_t startFunctionIndex; 421 if (!parseVarUInt32(startFunctionIndex) 422 || startFunctionIndex >= m_functionIndexSpace.size()) 423 return false; 424 Signature* signature = m_functionIndexSpace[startFunctionIndex].signature; 425 if (signature->arguments.size() != 0 426 || signature->returnType != Void) 427 return false; 428 m_module->startFunctionIndexSpace = startFunctionIndex; 429 return true; 430 } 431 432 bool ModuleParser::parseElement() 433 { 418 434 // FIXME https://bugs.webkit.org/show_bug.cgi?id=161709 419 return true; 420 } 421 422 bool ModuleParser::parseElement() 423 { 424 // FIXME https://bugs.webkit.org/show_bug.cgi?id=161709 435 RELEASE_ASSERT_NOT_REACHED(); 425 436 return true; 426 437 } … … 451 462 { 452 463 // FIXME https://bugs.webkit.org/show_bug.cgi?id=161709 464 RELEASE_ASSERT_NOT_REACHED(); 453 465 return true; 454 466 }
Note:
See TracChangeset
for help on using the changeset viewer.