Changeset 209433 in webkit for trunk/Source/JavaScriptCore/jit/Repatch.cpp
- Timestamp:
- Dec 6, 2016, 4:27:58 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/jit/Repatch.cpp
r208761 r209433 54 54 #include "StructureStubInfo.h" 55 55 #include "ThunkGenerators.h" 56 #include "WebAssemblyCodeBlock.h"57 56 #include <wtf/CommaPrinter.h> 58 57 #include <wtf/ListDump.h> … … 715 714 else { 716 715 ExecutableBase* executable = variant.executable(); 717 #if ENABLE(WEBASSEMBLY) 718 if (executable->isWebAssemblyExecutable()) 719 codeBlock = jsCast<WebAssemblyExecutable*>(executable)->codeBlockForCall(); 720 else 721 #endif 722 codeBlock = jsCast<FunctionExecutable*>(executable)->codeBlockForCall(); 716 codeBlock = jsCast<FunctionExecutable*>(executable)->codeBlockForCall(); 723 717 // If we cannot handle a callee, either because we don't have a CodeBlock or because arity mismatch, 724 718 // assume that it's better for this whole thing to be a virtual call.
Note:
See TracChangeset
for help on using the changeset viewer.