Changeset 207693 in webkit
- Timestamp:
- Oct 21, 2016 12:14:20 PM (7 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 9 edited
- 18 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/CMakeLists.txt
r207653 r207693 862 862 tools/JSDollarVMPrototype.cpp 863 863 864 wasm/JSW ASMModule.cpp864 wasm/JSWasmModule.cpp 865 865 wasm/JSWebAssembly.cpp 866 wasm/W ASMB3IRGenerator.cpp867 wasm/W ASMCallingConvention.cpp868 wasm/W ASMMemory.cpp869 wasm/W ASMModuleParser.cpp870 wasm/W ASMPlan.cpp866 wasm/WasmB3IRGenerator.cpp 867 wasm/WasmCallingConvention.cpp 868 wasm/WasmMemory.cpp 869 wasm/WasmModuleParser.cpp 870 wasm/WasmPlan.cpp 871 871 872 872 wasm/js/JSWebAssemblyCompileError.cpp -
trunk/Source/JavaScriptCore/ChangeLog
r207684 r207693 1 2016-10-21 Keith Miller <keith_miller@apple.com> 2 3 Rename WASM to Wasm 4 https://bugs.webkit.org/show_bug.cgi?id=163796 5 6 Rubber stamped by Filip Pizlo. 7 8 * CMakeLists.txt: 9 * Configurations/ToolExecutable.xcconfig: 10 * JavaScriptCore.xcodeproj/project.pbxproj: 11 * llint/LLIntThunks.cpp: 12 (JSC::vmEntryToWasm): 13 (JSC::vmEntryToWASM): Deleted. 14 * llint/LLIntThunks.h: 15 * runtime/Executable.cpp: 16 (JSC::WebAssemblyExecutable::WebAssemblyExecutable): 17 * runtime/Executable.h: 18 * shell/CMakeLists.txt: 19 * testWASM.cpp: 20 (runWASMTests): Deleted. 21 * testWasm.cpp: Renamed from Source/JavaScriptCore/testWASM.cpp. 22 (CommandLine::CommandLine): 23 (printUsageStatement): 24 (CommandLine::parseArguments): 25 (runLEBTests): 26 (invoke): 27 (box): 28 (runWasmTests): 29 (main): 30 * wasm/JSWASMModule.cpp: 31 (JSC::JSWASMModule::JSWASMModule): Deleted. 32 (JSC::JSWASMModule::destroy): Deleted. 33 (JSC::JSWASMModule::visitChildren): Deleted. 34 * wasm/JSWASMModule.h: 35 (JSC::JSWASMModule::create): Deleted. 36 (JSC::JSWASMModule::createStructure): Deleted. 37 (JSC::JSWASMModule::i32Constants): Deleted. 38 (JSC::JSWASMModule::f32Constants): Deleted. 39 (JSC::JSWASMModule::f64Constants): Deleted. 40 (JSC::JSWASMModule::signatures): Deleted. 41 (JSC::JSWASMModule::functionImports): Deleted. 42 (JSC::JSWASMModule::functionImportSignatures): Deleted. 43 (JSC::JSWASMModule::globalVariableTypes): Deleted. 44 (JSC::JSWASMModule::functionDeclarations): Deleted. 45 (JSC::JSWASMModule::functionPointerTables): Deleted. 46 (JSC::JSWASMModule::arrayBuffer): Deleted. 47 (JSC::JSWASMModule::functions): Deleted. 48 (JSC::JSWASMModule::functionStartOffsetsInSource): Deleted. 49 (JSC::JSWASMModule::functionStackHeights): Deleted. 50 (JSC::JSWASMModule::globalVariables): Deleted. 51 (JSC::JSWASMModule::importedFunctions): Deleted. 52 * wasm/JSWasmModule.cpp: Renamed from Source/JavaScriptCore/wasm/JSWASMModule.cpp. 53 (JSC::JSWasmModule::JSWasmModule): 54 (JSC::JSWasmModule::destroy): 55 (JSC::JSWasmModule::visitChildren): 56 * wasm/JSWasmModule.h: Renamed from Source/JavaScriptCore/wasm/JSWASMModule.h. 57 (JSC::JSWasmModule::create): 58 (JSC::JSWasmModule::createStructure): 59 (JSC::JSWasmModule::i32Constants): 60 (JSC::JSWasmModule::f32Constants): 61 (JSC::JSWasmModule::f64Constants): 62 (JSC::JSWasmModule::signatures): 63 (JSC::JSWasmModule::functionImports): 64 (JSC::JSWasmModule::functionImportSignatures): 65 (JSC::JSWasmModule::globalVariableTypes): 66 (JSC::JSWasmModule::functionDeclarations): 67 (JSC::JSWasmModule::functionPointerTables): 68 (JSC::JSWasmModule::arrayBuffer): 69 (JSC::JSWasmModule::functions): 70 (JSC::JSWasmModule::functionStartOffsetsInSource): 71 (JSC::JSWasmModule::functionStackHeights): 72 (JSC::JSWasmModule::globalVariables): 73 (JSC::JSWasmModule::importedFunctions): 74 * wasm/WASMB3IRGenerator.cpp: 75 (JSC::WASM::createJSWrapper): Deleted. 76 (JSC::WASM::parseAndCompile): Deleted. 77 * wasm/WASMCallingConvention.cpp: 78 (JSC::WASM::jscCallingConvention): Deleted. 79 (JSC::WASM::wasmCallingConvention): Deleted. 80 * wasm/WASMCallingConvention.h: 81 (JSC::WASM::CallingConvention::CallingConvention): Deleted. 82 (JSC::WASM::CallingConvention::marshallArgumentImpl): Deleted. 83 (JSC::WASM::CallingConvention::marshallArgument): Deleted. 84 (JSC::WASM::CallingConvention::loadArguments): Deleted. 85 (JSC::WASM::CallingConvention::setupCall): Deleted. 86 (JSC::WASM::nextJSCOffset): Deleted. 87 * wasm/WASMFormat.h: 88 (JSC::WASM::toB3Type): Deleted. 89 (JSC::WASM::isValueType): Deleted. 90 * wasm/WASMFunctionParser.h: 91 (JSC::WASM::FunctionParser<Context>::FunctionParser): Deleted. 92 (JSC::WASM::FunctionParser<Context>::parse): Deleted. 93 (JSC::WASM::FunctionParser<Context>::parseBlock): Deleted. 94 (JSC::WASM::FunctionParser<Context>::parseExpression): Deleted. 95 (JSC::WASM::FunctionParser<Context>::parseUnreachableExpression): Deleted. 96 * wasm/WASMMemory.cpp: 97 (JSC::WASM::Memory::Memory): Deleted. 98 * wasm/WASMMemory.h: 99 (JSC::WASM::Memory::~Memory): Deleted. 100 (JSC::WASM::Memory::memory): Deleted. 101 (JSC::WASM::Memory::size): Deleted. 102 (JSC::WASM::Memory::pinnedRegisters): Deleted. 103 (JSC::WASM::Memory::mode): Deleted. 104 (JSC::WASM::Memory::grow): Deleted. 105 (JSC::WASM::Memory::offsetOfSize): Deleted. 106 * wasm/WASMModuleParser.cpp: 107 (JSC::WASM::ModuleParser::parse): Deleted. 108 (JSC::WASM::ModuleParser::parseMemory): Deleted. 109 (JSC::WASM::ModuleParser::parseFunctionTypes): Deleted. 110 (JSC::WASM::ModuleParser::parseFunctionSignatures): Deleted. 111 (JSC::WASM::ModuleParser::parseFunctionDefinitions): Deleted. 112 * wasm/WASMModuleParser.h: 113 (JSC::WASM::ModuleParser::ModuleParser): Deleted. 114 (JSC::WASM::ModuleParser::functionInformation): Deleted. 115 (JSC::WASM::ModuleParser::memory): Deleted. 116 * wasm/WASMOps.h: 117 (JSC::WASM::isValidOpType): Deleted. 118 (JSC::WASM::isControlOp): Deleted. 119 * wasm/WASMParser.h: 120 (JSC::WASM::Parser::parseVarUInt32): Deleted. 121 (JSC::WASM::Parser::parseVarUInt64): Deleted. 122 (JSC::WASM::Parser::Parser): Deleted. 123 (JSC::WASM::Parser::consumeCharacter): Deleted. 124 (JSC::WASM::Parser::consumeString): Deleted. 125 (JSC::WASM::Parser::parseUInt32): Deleted. 126 (JSC::WASM::Parser::parseUInt7): Deleted. 127 (JSC::WASM::Parser::parseVarUInt1): Deleted. 128 (JSC::WASM::Parser::parseValueType): Deleted. 129 * wasm/WASMPlan.cpp: 130 (JSC::WASM::Plan::Plan): Deleted. 131 * wasm/WASMSections.h: 132 (JSC::WASM::Sections::validateOrder): Deleted. 133 * wasm/WasmB3IRGenerator.cpp: Renamed from Source/JavaScriptCore/wasm/WASMB3IRGenerator.cpp. 134 (dumpProcedure): 135 (JSC::Wasm::createJSWrapper): 136 (JSC::Wasm::parseAndCompile): 137 * wasm/WasmB3IRGenerator.h: Renamed from Source/JavaScriptCore/wasm/WASMB3IRGenerator.h. 138 * wasm/WasmCallingConvention.cpp: Renamed from Source/JavaScriptCore/wasm/WASMCallingConvention.cpp. 139 (JSC::Wasm::jscCallingConvention): 140 (JSC::Wasm::wasmCallingConvention): 141 * wasm/WasmCallingConvention.h: Renamed from Source/JavaScriptCore/wasm/WASMCallingConvention.h. 142 (JSC::Wasm::CallingConvention::CallingConvention): 143 (JSC::Wasm::CallingConvention::marshallArgumentImpl): 144 (JSC::Wasm::CallingConvention::marshallArgument): 145 (JSC::Wasm::CallingConvention::loadArguments): 146 (JSC::Wasm::CallingConvention::setupCall): 147 (JSC::Wasm::nextJSCOffset): 148 * wasm/WasmFormat.h: Renamed from Source/JavaScriptCore/wasm/WASMFormat.h. 149 (JSC::Wasm::toB3Type): 150 (JSC::Wasm::isValueType): 151 * wasm/WasmFunctionParser.h: Renamed from Source/JavaScriptCore/wasm/WASMFunctionParser.h. 152 (JSC::Wasm::FunctionParser<Context>::FunctionParser): 153 (JSC::Wasm::FunctionParser<Context>::parse): 154 (JSC::Wasm::FunctionParser<Context>::parseBlock): 155 (JSC::Wasm::FunctionParser<Context>::parseExpression): 156 (JSC::Wasm::FunctionParser<Context>::parseUnreachableExpression): 157 * wasm/WasmMemory.cpp: Renamed from Source/JavaScriptCore/wasm/WASMMemory.cpp. 158 (JSC::Wasm::Memory::Memory): 159 * wasm/WasmMemory.h: Renamed from Source/JavaScriptCore/wasm/WASMMemory.h. 160 (JSC::Wasm::Memory::~Memory): 161 (JSC::Wasm::Memory::memory): 162 (JSC::Wasm::Memory::size): 163 (JSC::Wasm::Memory::pinnedRegisters): 164 (JSC::Wasm::Memory::mode): 165 (JSC::Wasm::Memory::grow): 166 (JSC::Wasm::Memory::offsetOfSize): 167 * wasm/WasmModuleParser.cpp: Renamed from Source/JavaScriptCore/wasm/WASMModuleParser.cpp. 168 (JSC::Wasm::ModuleParser::parse): 169 (JSC::Wasm::ModuleParser::parseMemory): 170 (JSC::Wasm::ModuleParser::parseFunctionTypes): 171 (JSC::Wasm::ModuleParser::parseFunctionSignatures): 172 (JSC::Wasm::ModuleParser::parseFunctionDefinitions): 173 * wasm/WasmModuleParser.h: Renamed from Source/JavaScriptCore/wasm/WASMModuleParser.h. 174 (JSC::Wasm::ModuleParser::ModuleParser): 175 (JSC::Wasm::ModuleParser::functionInformation): 176 (JSC::Wasm::ModuleParser::memory): 177 * wasm/WasmOps.h: Renamed from Source/JavaScriptCore/wasm/WASMOps.h. 178 (JSC::Wasm::isValidOpType): 179 (JSC::Wasm::isControlOp): 180 * wasm/WasmParser.h: Renamed from Source/JavaScriptCore/wasm/WASMParser.h. 181 (JSC::Wasm::Parser::parseVarUInt32): 182 (JSC::Wasm::Parser::parseVarUInt64): 183 (JSC::Wasm::Parser::Parser): 184 (JSC::Wasm::Parser::consumeCharacter): 185 (JSC::Wasm::Parser::consumeString): 186 (JSC::Wasm::Parser::parseUInt32): 187 (JSC::Wasm::Parser::parseUInt7): 188 (JSC::Wasm::Parser::parseVarUInt1): 189 (JSC::Wasm::Parser::parseValueType): 190 * wasm/WasmPlan.cpp: Renamed from Source/JavaScriptCore/wasm/WASMPlan.cpp. 191 (JSC::Wasm::Plan::Plan): 192 * wasm/WasmPlan.h: Renamed from Source/JavaScriptCore/wasm/WASMPlan.h. 193 * wasm/WasmSections.h: Renamed from Source/JavaScriptCore/wasm/WASMSections.h. 194 (JSC::Wasm::Sections::validateOrder): 195 1 196 2016-10-21 Caitlin Potter <caitp@igalia.com> 2 197 -
trunk/Source/JavaScriptCore/Configurations/ToolExecutable.xcconfig
r207542 r207693 32 32 CODE_SIGN_ENTITLEMENTS_ios_testapi = entitlements.plist; 33 33 CODE_SIGN_ENTITLEMENTS_ios_testb3 = entitlements.plist; 34 CODE_SIGN_ENTITLEMENTS_ios_testW ASM= entitlements.plist;34 CODE_SIGN_ENTITLEMENTS_ios_testWasm = entitlements.plist; 35 35 CODE_SIGN_ENTITLEMENTS_ios_testRegExp = entitlements.plist; 36 36 -
trunk/Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj
r207653 r207693 1210 1210 52C952B719A289850069B386 /* TypeProfiler.h in Headers */ = {isa = PBXBuildFile; fileRef = 52C952B619A289850069B386 /* TypeProfiler.h */; settings = {ATTRIBUTES = (Private, ); }; }; 1211 1211 52C952B919A28A1C0069B386 /* TypeProfiler.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 52C952B819A28A1C0069B386 /* TypeProfiler.cpp */; }; 1212 531374BD1D5CE67600AF7A0B /* W ASMPlan.h in Headers */ = {isa = PBXBuildFile; fileRef = 531374BC1D5CE67600AF7A0B /* WASMPlan.h */; };1213 531374BF1D5CE95000AF7A0B /* W ASMPlan.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 531374BE1D5CE95000AF7A0B /* WASMPlan.cpp */; };1212 531374BD1D5CE67600AF7A0B /* WasmPlan.h in Headers */ = {isa = PBXBuildFile; fileRef = 531374BC1D5CE67600AF7A0B /* WasmPlan.h */; }; 1213 531374BF1D5CE95000AF7A0B /* WasmPlan.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 531374BE1D5CE95000AF7A0B /* WasmPlan.cpp */; }; 1214 1214 5341FC701DAC33E500E7E4D7 /* B3WasmBoundsCheckValue.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 5341FC6F1DAC33E500E7E4D7 /* B3WasmBoundsCheckValue.cpp */; }; 1215 1215 5341FC721DAC343C00E7E4D7 /* B3WasmBoundsCheckValue.h in Headers */ = {isa = PBXBuildFile; fileRef = 5341FC711DAC343C00E7E4D7 /* B3WasmBoundsCheckValue.h */; }; … … 1220 1220 534C457E1BC72549007476A7 /* JSTypedArrayViewConstructor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 534C457D1BC72549007476A7 /* JSTypedArrayViewConstructor.cpp */; }; 1221 1221 53529A4C1C457B75000B49C6 /* APIUtils.h in Headers */ = {isa = PBXBuildFile; fileRef = 53529A4B1C457B75000B49C6 /* APIUtils.h */; }; 1222 535557141D9D9EA5006D583B /* W ASMMemory.h in Headers */ = {isa = PBXBuildFile; fileRef = 535557131D9D9EA5006D583B /* WASMMemory.h */; };1223 535557161D9DFA32006D583B /* W ASMMemory.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 535557151D9DFA32006D583B /* WASMMemory.cpp */; };1222 535557141D9D9EA5006D583B /* WasmMemory.h in Headers */ = {isa = PBXBuildFile; fileRef = 535557131D9D9EA5006D583B /* WasmMemory.h */; }; 1223 535557161D9DFA32006D583B /* WasmMemory.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 535557151D9DFA32006D583B /* WasmMemory.cpp */; }; 1224 1224 5370B4F51BF26202005C40FC /* AdaptiveInferredPropertyValueWatchpointBase.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 5370B4F31BF25EA2005C40FC /* AdaptiveInferredPropertyValueWatchpointBase.cpp */; }; 1225 1225 5370B4F61BF26205005C40FC /* AdaptiveInferredPropertyValueWatchpointBase.h in Headers */ = {isa = PBXBuildFile; fileRef = 5370B4F41BF25EA2005C40FC /* AdaptiveInferredPropertyValueWatchpointBase.h */; }; … … 1227 1227 539EB0791D55607000C82EF7 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 51F0EB6105C86C6B00E6DF1B /* Foundation.framework */; }; 1228 1228 539EB07A1D55607000C82EF7 /* JavaScriptCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 932F5BD90822A1C700736975 /* JavaScriptCore.framework */; }; 1229 539EB0811D55608A00C82EF7 /* testW ASM.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 539EB0711D553DF800C82EF7 /* testWASM.cpp */; };1229 539EB0811D55608A00C82EF7 /* testWasm.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 539EB0711D553DF800C82EF7 /* testWasm.cpp */; }; 1230 1230 539FB8BA1C99DA7C00940FA1 /* JSArrayInlines.h in Headers */ = {isa = PBXBuildFile; fileRef = 539FB8B91C99DA7C00940FA1 /* JSArrayInlines.h */; }; 1231 1231 53D444DC1DAF08AB00B92784 /* B3WasmAddressValue.h in Headers */ = {isa = PBXBuildFile; fileRef = 53D444DB1DAF08AB00B92784 /* B3WasmAddressValue.h */; }; 1232 1232 53D444DE1DAF09A000B92784 /* B3WasmAddressValue.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 53D444DD1DAF09A000B92784 /* B3WasmAddressValue.cpp */; }; 1233 53F40E851D58F9770099A1B6 /* W ASMSections.h in Headers */ = {isa = PBXBuildFile; fileRef = 53F40E841D58F9770099A1B6 /* WASMSections.h */; };1234 53F40E8B1D5901BB0099A1B6 /* W ASMFunctionParser.h in Headers */ = {isa = PBXBuildFile; fileRef = 53F40E8A1D5901BB0099A1B6 /* WASMFunctionParser.h */; };1235 53F40E8D1D5901F20099A1B6 /* W ASMParser.h in Headers */ = {isa = PBXBuildFile; fileRef = 53F40E8C1D5901F20099A1B6 /* WASMParser.h */; };1236 53F40E8F1D5902820099A1B6 /* W ASMB3IRGenerator.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 53F40E8E1D5902820099A1B6 /* WASMB3IRGenerator.cpp */; };1237 53F40E911D5903020099A1B6 /* W ASMOps.h in Headers */ = {isa = PBXBuildFile; fileRef = 53F40E901D5903020099A1B6 /* WASMOps.h */; };1238 53F40E931D5A4AB30099A1B6 /* W ASMB3IRGenerator.h in Headers */ = {isa = PBXBuildFile; fileRef = 53F40E921D5A4AB30099A1B6 /* WASMB3IRGenerator.h */; };1239 53F40E951D5A7AEF0099A1B6 /* W ASMModuleParser.h in Headers */ = {isa = PBXBuildFile; fileRef = 53F40E941D5A7AEF0099A1B6 /* WASMModuleParser.h */; };1240 53F40E971D5A7BEC0099A1B6 /* W ASMModuleParser.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 53F40E961D5A7BEC0099A1B6 /* WASMModuleParser.cpp */; };1233 53F40E851D58F9770099A1B6 /* WasmSections.h in Headers */ = {isa = PBXBuildFile; fileRef = 53F40E841D58F9770099A1B6 /* WasmSections.h */; }; 1234 53F40E8B1D5901BB0099A1B6 /* WasmFunctionParser.h in Headers */ = {isa = PBXBuildFile; fileRef = 53F40E8A1D5901BB0099A1B6 /* WasmFunctionParser.h */; }; 1235 53F40E8D1D5901F20099A1B6 /* WasmParser.h in Headers */ = {isa = PBXBuildFile; fileRef = 53F40E8C1D5901F20099A1B6 /* WasmParser.h */; }; 1236 53F40E8F1D5902820099A1B6 /* WasmB3IRGenerator.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 53F40E8E1D5902820099A1B6 /* WasmB3IRGenerator.cpp */; }; 1237 53F40E911D5903020099A1B6 /* WasmOps.h in Headers */ = {isa = PBXBuildFile; fileRef = 53F40E901D5903020099A1B6 /* WasmOps.h */; }; 1238 53F40E931D5A4AB30099A1B6 /* WasmB3IRGenerator.h in Headers */ = {isa = PBXBuildFile; fileRef = 53F40E921D5A4AB30099A1B6 /* WasmB3IRGenerator.h */; }; 1239 53F40E951D5A7AEF0099A1B6 /* WasmModuleParser.h in Headers */ = {isa = PBXBuildFile; fileRef = 53F40E941D5A7AEF0099A1B6 /* WasmModuleParser.h */; }; 1240 53F40E971D5A7BEC0099A1B6 /* WasmModuleParser.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 53F40E961D5A7BEC0099A1B6 /* WasmModuleParser.cpp */; }; 1241 1241 53F6BF6D1C3F060A00F41E5D /* InternalFunctionAllocationProfile.h in Headers */ = {isa = PBXBuildFile; fileRef = 53F6BF6C1C3F060A00F41E5D /* InternalFunctionAllocationProfile.h */; settings = {ATTRIBUTES = (Private, ); }; }; 1242 1242 53FA2AE11CF37F3F0022711D /* LLIntPrototypeLoadAdaptiveStructureWatchpoint.h in Headers */ = {isa = PBXBuildFile; fileRef = 53FA2AE01CF37F3F0022711D /* LLIntPrototypeLoadAdaptiveStructureWatchpoint.h */; settings = {ATTRIBUTES = (Private, ); }; }; 1243 1243 53FA2AE31CF380390022711D /* LLIntPrototypeLoadAdaptiveStructureWatchpoint.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 53FA2AE21CF380390022711D /* LLIntPrototypeLoadAdaptiveStructureWatchpoint.cpp */; }; 1244 53FD04D31D7AB277003287D3 /* W ASMCallingConvention.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 53FD04D11D7AB187003287D3 /* WASMCallingConvention.cpp */; };1245 53FD04D41D7AB291003287D3 /* W ASMCallingConvention.h in Headers */ = {isa = PBXBuildFile; fileRef = 53FD04D21D7AB187003287D3 /* WASMCallingConvention.h */; };1244 53FD04D31D7AB277003287D3 /* WasmCallingConvention.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 53FD04D11D7AB187003287D3 /* WasmCallingConvention.cpp */; }; 1245 53FD04D41D7AB291003287D3 /* WasmCallingConvention.h in Headers */ = {isa = PBXBuildFile; fileRef = 53FD04D21D7AB187003287D3 /* WasmCallingConvention.h */; }; 1246 1246 5D5D8AD10E0D0EBE00F9C692 /* libedit.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 5D5D8AD00E0D0EBE00F9C692 /* libedit.dylib */; }; 1247 1247 5DBB151B131D0B310056AD36 /* testapi.js in Copy Support Script */ = {isa = PBXBuildFile; fileRef = 14D857740A4696C80032146C /* testapi.js */; }; … … 1366 1366 79F8FC1E1B9FED0F00CA66AB /* DFGMaximalFlushInsertionPhase.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 79F8FC1C1B9FED0F00CA66AB /* DFGMaximalFlushInsertionPhase.cpp */; }; 1367 1367 79F8FC1F1B9FED0F00CA66AB /* DFGMaximalFlushInsertionPhase.h in Headers */ = {isa = PBXBuildFile; fileRef = 79F8FC1D1B9FED0F00CA66AB /* DFGMaximalFlushInsertionPhase.h */; }; 1368 7B98D1361B60CD5F0023B1A4 /* JSW ASMModule.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7B98D1341B60CD5A0023B1A4 /* JSWASMModule.cpp */; };1369 7B98D1371B60CD620023B1A4 /* JSW ASMModule.h in Headers */ = {isa = PBXBuildFile; fileRef = 7B98D1351B60CD5A0023B1A4 /* JSWASMModule.h */; settings = {ATTRIBUTES = (Private, ); }; };1370 7BC547D31B6959A100959B58 /* W ASMFormat.h in Headers */ = {isa = PBXBuildFile; fileRef = 7BC547D21B69599B00959B58 /* WASMFormat.h */; settings = {ATTRIBUTES = (Private, ); }; };1368 7B98D1361B60CD5F0023B1A4 /* JSWasmModule.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7B98D1341B60CD5A0023B1A4 /* JSWasmModule.cpp */; }; 1369 7B98D1371B60CD620023B1A4 /* JSWasmModule.h in Headers */ = {isa = PBXBuildFile; fileRef = 7B98D1351B60CD5A0023B1A4 /* JSWasmModule.h */; settings = {ATTRIBUTES = (Private, ); }; }; 1370 7BC547D31B6959A100959B58 /* WasmFormat.h in Headers */ = {isa = PBXBuildFile; fileRef = 7BC547D21B69599B00959B58 /* WasmFormat.h */; settings = {ATTRIBUTES = (Private, ); }; }; 1371 1371 7C008CDA187124BB00955C24 /* JSPromiseDeferred.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7C008CD8187124BB00955C24 /* JSPromiseDeferred.cpp */; }; 1372 1372 7C008CDB187124BB00955C24 /* JSPromiseDeferred.h in Headers */ = {isa = PBXBuildFile; fileRef = 7C008CD9187124BB00955C24 /* JSPromiseDeferred.h */; settings = {ATTRIBUTES = (Private, ); }; }; … … 3511 3511 52C952B619A289850069B386 /* TypeProfiler.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TypeProfiler.h; sourceTree = "<group>"; }; 3512 3512 52C952B819A28A1C0069B386 /* TypeProfiler.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TypeProfiler.cpp; sourceTree = "<group>"; }; 3513 531374BC1D5CE67600AF7A0B /* W ASMPlan.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WASMPlan.h; sourceTree = "<group>"; };3514 531374BE1D5CE95000AF7A0B /* W ASMPlan.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WASMPlan.cpp; sourceTree = "<group>"; };3513 531374BC1D5CE67600AF7A0B /* WasmPlan.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WasmPlan.h; sourceTree = "<group>"; }; 3514 531374BE1D5CE95000AF7A0B /* WasmPlan.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WasmPlan.cpp; sourceTree = "<group>"; }; 3515 3515 5341FC6F1DAC33E500E7E4D7 /* B3WasmBoundsCheckValue.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = B3WasmBoundsCheckValue.cpp; path = b3/B3WasmBoundsCheckValue.cpp; sourceTree = "<group>"; }; 3516 3516 5341FC711DAC343C00E7E4D7 /* B3WasmBoundsCheckValue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = B3WasmBoundsCheckValue.h; path = b3/B3WasmBoundsCheckValue.h; sourceTree = "<group>"; }; … … 3523 3523 534C457D1BC72549007476A7 /* JSTypedArrayViewConstructor.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSTypedArrayViewConstructor.cpp; sourceTree = "<group>"; }; 3524 3524 53529A4B1C457B75000B49C6 /* APIUtils.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = APIUtils.h; sourceTree = "<group>"; }; 3525 535557131D9D9EA5006D583B /* W ASMMemory.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WASMMemory.h; sourceTree = "<group>"; };3526 535557151D9DFA32006D583B /* W ASMMemory.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WASMMemory.cpp; sourceTree = "<group>"; };3525 535557131D9D9EA5006D583B /* WasmMemory.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WasmMemory.h; sourceTree = "<group>"; }; 3526 535557151D9DFA32006D583B /* WasmMemory.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WasmMemory.cpp; sourceTree = "<group>"; }; 3527 3527 5370B4F31BF25EA2005C40FC /* AdaptiveInferredPropertyValueWatchpointBase.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = AdaptiveInferredPropertyValueWatchpointBase.cpp; sourceTree = "<group>"; }; 3528 3528 5370B4F41BF25EA2005C40FC /* AdaptiveInferredPropertyValueWatchpointBase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AdaptiveInferredPropertyValueWatchpointBase.h; sourceTree = "<group>"; }; … … 3530 3530 53917E7C1B791106000EBD33 /* JSTypedArrayViewPrototype.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSTypedArrayViewPrototype.h; sourceTree = "<group>"; }; 3531 3531 53917E831B791CB8000EBD33 /* TypedArrayPrototype.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; name = TypedArrayPrototype.js; path = builtins/TypedArrayPrototype.js; sourceTree = SOURCE_ROOT; }; 3532 539EB0711D553DF800C82EF7 /* testW ASM.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = testWASM.cpp; sourceTree = "<group>"; };3532 539EB0711D553DF800C82EF7 /* testWasm.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = testWasm.cpp; sourceTree = "<group>"; }; 3533 3533 539EB0801D55607000C82EF7 /* testWASM */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = testWASM; sourceTree = BUILT_PRODUCTS_DIR; }; 3534 3534 539FB8B91C99DA7C00940FA1 /* JSArrayInlines.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSArrayInlines.h; sourceTree = "<group>"; }; … … 3536 3536 53D444DD1DAF09A000B92784 /* B3WasmAddressValue.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = B3WasmAddressValue.cpp; path = b3/B3WasmAddressValue.cpp; sourceTree = "<group>"; }; 3537 3537 53F256E11B87E28000B4B768 /* JSTypedArrayViewPrototype.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSTypedArrayViewPrototype.cpp; sourceTree = "<group>"; }; 3538 53F40E841D58F9770099A1B6 /* W ASMSections.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WASMSections.h; sourceTree = "<group>"; };3539 53F40E8A1D5901BB0099A1B6 /* W ASMFunctionParser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WASMFunctionParser.h; sourceTree = "<group>"; };3540 53F40E8C1D5901F20099A1B6 /* W ASMParser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WASMParser.h; sourceTree = "<group>"; };3541 53F40E8E1D5902820099A1B6 /* W ASMB3IRGenerator.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WASMB3IRGenerator.cpp; sourceTree = "<group>"; };3542 53F40E901D5903020099A1B6 /* W ASMOps.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WASMOps.h; sourceTree = "<group>"; };3543 53F40E921D5A4AB30099A1B6 /* W ASMB3IRGenerator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WASMB3IRGenerator.h; sourceTree = "<group>"; };3544 53F40E941D5A7AEF0099A1B6 /* W ASMModuleParser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WASMModuleParser.h; sourceTree = "<group>"; };3545 53F40E961D5A7BEC0099A1B6 /* W ASMModuleParser.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WASMModuleParser.cpp; sourceTree = "<group>"; };3538 53F40E841D58F9770099A1B6 /* WasmSections.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WasmSections.h; sourceTree = "<group>"; }; 3539 53F40E8A1D5901BB0099A1B6 /* WasmFunctionParser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WasmFunctionParser.h; sourceTree = "<group>"; }; 3540 53F40E8C1D5901F20099A1B6 /* WasmParser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WasmParser.h; sourceTree = "<group>"; }; 3541 53F40E8E1D5902820099A1B6 /* WasmB3IRGenerator.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WasmB3IRGenerator.cpp; sourceTree = "<group>"; }; 3542 53F40E901D5903020099A1B6 /* WasmOps.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WasmOps.h; sourceTree = "<group>"; }; 3543 53F40E921D5A4AB30099A1B6 /* WasmB3IRGenerator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WasmB3IRGenerator.h; sourceTree = "<group>"; }; 3544 53F40E941D5A7AEF0099A1B6 /* WasmModuleParser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WasmModuleParser.h; sourceTree = "<group>"; }; 3545 53F40E961D5A7BEC0099A1B6 /* WasmModuleParser.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WasmModuleParser.cpp; sourceTree = "<group>"; }; 3546 3546 53F6BF6C1C3F060A00F41E5D /* InternalFunctionAllocationProfile.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = InternalFunctionAllocationProfile.h; sourceTree = "<group>"; }; 3547 3547 53FA2AE01CF37F3F0022711D /* LLIntPrototypeLoadAdaptiveStructureWatchpoint.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LLIntPrototypeLoadAdaptiveStructureWatchpoint.h; sourceTree = "<group>"; }; 3548 3548 53FA2AE21CF380390022711D /* LLIntPrototypeLoadAdaptiveStructureWatchpoint.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = LLIntPrototypeLoadAdaptiveStructureWatchpoint.cpp; sourceTree = "<group>"; }; 3549 53FD04D11D7AB187003287D3 /* W ASMCallingConvention.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WASMCallingConvention.cpp; sourceTree = "<group>"; };3550 53FD04D21D7AB187003287D3 /* W ASMCallingConvention.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WASMCallingConvention.h; sourceTree = "<group>"; };3549 53FD04D11D7AB187003287D3 /* WasmCallingConvention.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WasmCallingConvention.cpp; sourceTree = "<group>"; }; 3550 53FD04D21D7AB187003287D3 /* WasmCallingConvention.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WasmCallingConvention.h; sourceTree = "<group>"; }; 3551 3551 5D5D8AD00E0D0EBE00F9C692 /* libedit.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libedit.dylib; path = /usr/lib/libedit.dylib; sourceTree = "<absolute>"; }; 3552 3552 5DAFD6CB146B686300FBEFB4 /* JSC.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = JSC.xcconfig; sourceTree = "<group>"; }; … … 3707 3707 79F8FC1C1B9FED0F00CA66AB /* DFGMaximalFlushInsertionPhase.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = DFGMaximalFlushInsertionPhase.cpp; path = dfg/DFGMaximalFlushInsertionPhase.cpp; sourceTree = "<group>"; }; 3708 3708 79F8FC1D1B9FED0F00CA66AB /* DFGMaximalFlushInsertionPhase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = DFGMaximalFlushInsertionPhase.h; path = dfg/DFGMaximalFlushInsertionPhase.h; sourceTree = "<group>"; }; 3709 7B98D1341B60CD5A0023B1A4 /* JSW ASMModule.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSWASMModule.cpp; sourceTree = "<group>"; };3710 7B98D1351B60CD5A0023B1A4 /* JSW ASMModule.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSWASMModule.h; sourceTree = "<group>"; };3711 7BC547D21B69599B00959B58 /* W ASMFormat.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WASMFormat.h; sourceTree = "<group>"; };3709 7B98D1341B60CD5A0023B1A4 /* JSWasmModule.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSWasmModule.cpp; sourceTree = "<group>"; }; 3710 7B98D1351B60CD5A0023B1A4 /* JSWasmModule.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSWasmModule.h; sourceTree = "<group>"; }; 3711 7BC547D21B69599B00959B58 /* WasmFormat.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WasmFormat.h; sourceTree = "<group>"; }; 3712 3712 7C008CD8187124BB00955C24 /* JSPromiseDeferred.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSPromiseDeferred.cpp; sourceTree = "<group>"; }; 3713 3713 7C008CD9187124BB00955C24 /* JSPromiseDeferred.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSPromiseDeferred.h; sourceTree = "<group>"; }; … … 5296 5296 86D22219167EF9440024C804 /* testapi.mm */, 5297 5297 651122E5140469BA002B101D /* testRegExp.cpp */, 5298 539EB0711D553DF800C82EF7 /* testW ASM.cpp */,5298 539EB0711D553DF800C82EF7 /* testWasm.cpp */, 5299 5299 ); 5300 5300 name = tests; … … 5820 5820 AD2FCC2F1DB839F700B3E736 /* JSWebAssembly.h */, 5821 5821 AD2FCB8A1DB5840000B3E736 /* js */, 5822 7B98D1341B60CD5A0023B1A4 /* JSW ASMModule.cpp */,5823 7B98D1351B60CD5A0023B1A4 /* JSW ASMModule.h */,5824 53F40E8E1D5902820099A1B6 /* W ASMB3IRGenerator.cpp */,5825 53F40E921D5A4AB30099A1B6 /* W ASMB3IRGenerator.h */,5826 53FD04D11D7AB187003287D3 /* W ASMCallingConvention.cpp */,5827 53FD04D21D7AB187003287D3 /* W ASMCallingConvention.h */,5828 53F40E901D5903020099A1B6 /* W ASMOps.h */,5829 7BC547D21B69599B00959B58 /* W ASMFormat.h */,5830 53F40E8A1D5901BB0099A1B6 /* W ASMFunctionParser.h */,5831 535557151D9DFA32006D583B /* W ASMMemory.cpp */,5832 535557131D9D9EA5006D583B /* W ASMMemory.h */,5833 53F40E961D5A7BEC0099A1B6 /* W ASMModuleParser.cpp */,5834 53F40E941D5A7AEF0099A1B6 /* W ASMModuleParser.h */,5835 531374BE1D5CE95000AF7A0B /* W ASMPlan.cpp */,5836 531374BC1D5CE67600AF7A0B /* W ASMPlan.h */,5837 53F40E8C1D5901F20099A1B6 /* W ASMParser.h */,5838 53F40E841D58F9770099A1B6 /* W ASMSections.h */,5822 7B98D1341B60CD5A0023B1A4 /* JSWasmModule.cpp */, 5823 7B98D1351B60CD5A0023B1A4 /* JSWasmModule.h */, 5824 53F40E8E1D5902820099A1B6 /* WasmB3IRGenerator.cpp */, 5825 53F40E921D5A4AB30099A1B6 /* WasmB3IRGenerator.h */, 5826 53FD04D11D7AB187003287D3 /* WasmCallingConvention.cpp */, 5827 53FD04D21D7AB187003287D3 /* WasmCallingConvention.h */, 5828 53F40E901D5903020099A1B6 /* WasmOps.h */, 5829 7BC547D21B69599B00959B58 /* WasmFormat.h */, 5830 53F40E8A1D5901BB0099A1B6 /* WasmFunctionParser.h */, 5831 535557151D9DFA32006D583B /* WasmMemory.cpp */, 5832 535557131D9D9EA5006D583B /* WasmMemory.h */, 5833 53F40E961D5A7BEC0099A1B6 /* WasmModuleParser.cpp */, 5834 53F40E941D5A7AEF0099A1B6 /* WasmModuleParser.h */, 5835 531374BE1D5CE95000AF7A0B /* WasmPlan.cpp */, 5836 531374BC1D5CE67600AF7A0B /* WasmPlan.h */, 5837 53F40E8C1D5901F20099A1B6 /* WasmParser.h */, 5838 53F40E841D58F9770099A1B6 /* WasmSections.h */, 5839 5839 ); 5840 5840 path = wasm; … … 7604 7604 C2FCAE1317A9C24E0034C735 /* BytecodeLivenessAnalysis.h in Headers */, 7605 7605 0F666EC0183566F900D017F1 /* BytecodeLivenessAnalysisInlines.h in Headers */, 7606 53F40E951D5A7AEF0099A1B6 /* W ASMModuleParser.h in Headers */,7606 53F40E951D5A7AEF0099A1B6 /* WasmModuleParser.h in Headers */, 7607 7607 6514F21918B3E1670098FF8B /* Bytecodes.h in Headers */, 7608 7608 0F885E111849A3BE00F1E3FA /* BytecodeUseDef.h in Headers */, … … 7684 7684 6AD2CB4D19B9140100065719 /* DebuggerEvalEnabler.h in Headers */, 7685 7685 FEA08621182B7A0400F6D851 /* DebuggerPrimitives.h in Headers */, 7686 53F40E851D58F9770099A1B6 /* W ASMSections.h in Headers */,7686 53F40E851D58F9770099A1B6 /* WasmSections.h in Headers */, 7687 7687 DC9A0C1F1D2D9CB10085124E /* B3CaseCollectionInlines.h in Headers */, 7688 7688 0F2D4DDE19832D34007D4B19 /* DebuggerScope.h in Headers */, … … 7844 7844 0F392C8A1B46188400844728 /* DFGOSRExitFuzz.h in Headers */, 7845 7845 0FEFC9AB1681A3B600567F53 /* DFGOSRExitJumpPlaceholder.h in Headers */, 7846 53F40E8D1D5901F20099A1B6 /* W ASMParser.h in Headers */,7846 53F40E8D1D5901F20099A1B6 /* WasmParser.h in Headers */, 7847 7847 0F40E4A81C497F7400A577FA /* AirOpcodeGenerated.h in Headers */, 7848 7848 0F235BEE17178E7300690C7F /* DFGOSRExitPreparation.h in Headers */, … … 8010 8010 0F2B66AE17B6B54500A7AE3F /* GCIncomingRefCountedSet.h in Headers */, 8011 8011 0F2B66AF17B6B54500A7AE3F /* GCIncomingRefCountedSetInlines.h in Headers */, 8012 531374BD1D5CE67600AF7A0B /* W ASMPlan.h in Headers */,8012 531374BD1D5CE67600AF7A0B /* WasmPlan.h in Headers */, 8013 8013 2AABCDE718EF294200002096 /* GCLogging.h in Headers */, 8014 8014 0F2BBD981C5FF3F50023EF23 /* B3Variable.h in Headers */, … … 8064 8064 1478297B1379E8A800A7C2A3 /* HandleTypes.h in Headers */, 8065 8065 0F10F1A31C420BF0001C07D2 /* AirCustom.h in Headers */, 8066 535557141D9D9EA5006D583B /* W ASMMemory.h in Headers */,8066 535557141D9D9EA5006D583B /* WasmMemory.h in Headers */, 8067 8067 14BA7A9813AADFF8005B7C2C /* Heap.h in Headers */, 8068 8068 0F32BD111BB34F190093A57F /* HeapHelperPool.h in Headers */, … … 8238 8238 797E07AA1B8FCFB9008400BA /* JSGlobalLexicalEnvironment.h in Headers */, 8239 8239 BC18C4210E16F5CD00B34460 /* JSGlobalObject.h in Headers */, 8240 53F40E8B1D5901BB0099A1B6 /* W ASMFunctionParser.h in Headers */,8240 53F40E8B1D5901BB0099A1B6 /* WasmFunctionParser.h in Headers */, 8241 8241 996B731D1BDA08EF00331B84 /* JSGlobalObject.lut.h in Headers */, 8242 8242 A5FD0086189B1B7E00633231 /* JSGlobalObjectConsoleAgent.h in Headers */, … … 8306 8306 FE1220271BE7F58C0039E6F2 /* JITAddGenerator.h in Headers */, 8307 8307 0F919D11157F332C004A4E7D /* JSSegmentedVariableObject.h in Headers */, 8308 53F40E911D5903020099A1B6 /* W ASMOps.h in Headers */,8308 53F40E911D5903020099A1B6 /* WasmOps.h in Headers */, 8309 8309 A7299D9E17D12837005F5FF9 /* JSSet.h in Headers */, 8310 8310 A790DD70182F499700588807 /* JSSetIterator.h in Headers */, … … 8342 8342 86E3C615167BABD7006D760A /* JSVirtualMachine.h in Headers */, 8343 8343 86E3C61D167BABEE006D760A /* JSVirtualMachineInternal.h in Headers */, 8344 7B98D1371B60CD620023B1A4 /* JSW ASMModule.h in Headers */,8344 7B98D1371B60CD620023B1A4 /* JSWasmModule.h in Headers */, 8345 8345 DC605B5E1CE26EA200593718 /* ProfilerEvent.h in Headers */, 8346 8346 A7CA3AE817DA41AE006538AF /* JSWeakMap.h in Headers */, … … 8358 8358 99DA00B01BD5994E00F4575C /* lazywriter.py in Headers */, 8359 8359 BC18C4310E16F5CD00B34460 /* Lexer.h in Headers */, 8360 53F40E931D5A4AB30099A1B6 /* W ASMB3IRGenerator.h in Headers */,8360 53F40E931D5A4AB30099A1B6 /* WasmB3IRGenerator.h in Headers */, 8361 8361 BC18C52E0E16FCE100B34460 /* Lexer.lut.h in Headers */, 8362 8362 DCF3D56B1CD29472003D5C65 /* LazyClassStructureInlines.h in Headers */, … … 8608 8608 0F33FCFC1C1625BE00323F67 /* B3Dominators.h in Headers */, 8609 8609 E32FF1EA1DA7571C00A8BF21 /* DOMJITSlowPathCalls.h in Headers */, 8610 53FD04D41D7AB291003287D3 /* W ASMCallingConvention.h in Headers */,8610 53FD04D41D7AB291003287D3 /* WasmCallingConvention.h in Headers */, 8611 8611 705B41B21A6E501E00716757 /* SymbolPrototype.h in Headers */, 8612 8612 AD2FCC201DB59CB200B3E736 /* WebAssemblyTableConstructor.lut.h in Headers */, … … 8669 8669 658D3A5619638268003C45D6 /* VMEntryRecord.h in Headers */, 8670 8670 FE5932A8183C5A2600A1ECCC /* VMEntryScope.h in Headers */, 8671 7BC547D31B6959A100959B58 /* W ASMFormat.h in Headers */,8671 7BC547D31B6959A100959B58 /* WasmFormat.h in Headers */, 8672 8672 0F6B8ADD1C4EFAC300969052 /* B3SSACalculator.h in Headers */, 8673 8673 0F2BBD9A1C5FF3F50023EF23 /* B3VariableValue.h in Headers */, … … 9212 9212 buildActionMask = 2147483647; 9213 9213 files = ( 9214 539EB0811D55608A00C82EF7 /* testW ASM.cpp in Sources */,9214 539EB0811D55608A00C82EF7 /* testWasm.cpp in Sources */, 9215 9215 ); 9216 9216 runOnlyForDeploymentPostprocessing = 0; … … 9428 9428 0FD3C82614115D4000FD81CB /* DFGDriver.cpp in Sources */, 9429 9429 0FF0F19E16B72A0B005DF95B /* DFGEdge.cpp in Sources */, 9430 535557161D9DFA32006D583B /* W ASMMemory.cpp in Sources */,9430 535557161D9DFA32006D583B /* WasmMemory.cpp in Sources */, 9431 9431 0F8F14331ADF090100ED792C /* DFGEpoch.cpp in Sources */, 9432 9432 0FBC0AE71496C7C400D4FBDD /* DFGExitProfile.cpp in Sources */, … … 9455 9455 FEA0C4021CDD7D1D00481991 /* FunctionWhitelist.cpp in Sources */, 9456 9456 A73A535A1799CD5D00170C19 /* DFGLazyJSValue.cpp in Sources */, 9457 53FD04D31D7AB277003287D3 /* W ASMCallingConvention.cpp in Sources */,9457 53FD04D31D7AB277003287D3 /* WasmCallingConvention.cpp in Sources */, 9458 9458 62F2AA371B0BEDE300610C7A /* DFGLazyNode.cpp in Sources */, 9459 9459 A7D9A29717A0BC7400EE2618 /* DFGLICMPhase.cpp in Sources */, … … 9643 9643 A513E5B7185B8BD3007E95AD /* InjectedScript.cpp in Sources */, 9644 9644 A514B2C2185A684400F3C7CB /* InjectedScriptBase.cpp in Sources */, 9645 531374BF1D5CE95000AF7A0B /* W ASMPlan.cpp in Sources */,9645 531374BF1D5CE95000AF7A0B /* WasmPlan.cpp in Sources */, 9646 9646 A58E35911860DECF001F24FE /* InjectedScriptHost.cpp in Sources */, 9647 9647 A513E5CA185F9624007E95AD /* InjectedScriptManager.cpp in Sources */, … … 9822 9822 14BD5A320A3E91F600BAF59C /* JSValueRef.cpp in Sources */, 9823 9823 86E3C61C167BABEE006D760A /* JSVirtualMachine.mm in Sources */, 9824 7B98D1361B60CD5F0023B1A4 /* JSW ASMModule.cpp in Sources */,9824 7B98D1361B60CD5F0023B1A4 /* JSWasmModule.cpp in Sources */, 9825 9825 A7CA3AE717DA41AE006538AF /* JSWeakMap.cpp in Sources */, 9826 9826 A7482B9411671147003B0712 /* JSWeakObjectMapRefPrivate.cpp in Sources */, … … 10044 10044 FE5932A7183C5A2600A1ECCC /* VMEntryScope.cpp in Sources */, 10045 10045 FE187A011BFBE55E0038BBCA /* JITMulGenerator.cpp in Sources */, 10046 53F40E8F1D5902820099A1B6 /* W ASMB3IRGenerator.cpp in Sources */,10046 53F40E8F1D5902820099A1B6 /* WasmB3IRGenerator.cpp in Sources */, 10047 10047 26718BA41BE99F780052017B /* AirIteratedRegisterCoalescing.cpp in Sources */, 10048 10048 FED94F2E171E3E2300BE77A4 /* Watchdog.cpp in Sources */, … … 10055 10055 0F338DF91BE96AA80013C88F /* B3CCallValue.cpp in Sources */, 10056 10056 A7CA3AEB17DA5168006538AF /* WeakMapData.cpp in Sources */, 10057 53F40E971D5A7BEC0099A1B6 /* W ASMModuleParser.cpp in Sources */,10057 53F40E971D5A7BEC0099A1B6 /* WasmModuleParser.cpp in Sources */, 10058 10058 A7CA3AE517DA41AE006538AF /* WeakMapPrototype.cpp in Sources */, 10059 10059 14E84FA014EE1ACC00D6D5D4 /* WeakSet.cpp in Sources */, -
trunk/Source/JavaScriptCore/llint/LLIntThunks.cpp
r205462 r207693 43 43 namespace JSC { 44 44 45 EncodedJSValue JS_EXPORT_PRIVATE vmEntryToW ASM(void* code, VM* vm, ProtoCallFrame* frame)45 EncodedJSValue JS_EXPORT_PRIVATE vmEntryToWasm(void* code, VM* vm, ProtoCallFrame* frame) 46 46 { 47 47 return vmEntryToJavaScript(code, vm, frame); -
trunk/Source/JavaScriptCore/llint/LLIntThunks.h
r206525 r207693 39 39 } 40 40 41 EncodedJSValue JS_EXPORT_PRIVATE vmEntryToW ASM(void*, VM*, ProtoCallFrame*);41 EncodedJSValue JS_EXPORT_PRIVATE vmEntryToWasm(void*, VM*, ProtoCallFrame*); 42 42 43 43 namespace LLInt { -
trunk/Source/JavaScriptCore/runtime/Executable.cpp
r207475 r207693 32 32 #include "JIT.h" 33 33 #include "JSCInlines.h" 34 #include "JSW ASMModule.h"34 #include "JSWasmModule.h" 35 35 #include "LLIntEntrypoint.h" 36 36 #include "Parser.h" … … 748 748 const ClassInfo WebAssemblyExecutable::s_info = { "WebAssemblyExecutable", &ExecutableBase::s_info, 0, CREATE_METHOD_TABLE(WebAssemblyExecutable) }; 749 749 750 WebAssemblyExecutable::WebAssemblyExecutable(VM& vm, const SourceCode& source, JSW ASMModule* module, unsigned functionIndex)750 WebAssemblyExecutable::WebAssemblyExecutable(VM& vm, const SourceCode& source, JSWasmModule* module, unsigned functionIndex) 751 751 : ExecutableBase(vm, vm.webAssemblyExecutableStructure.get(), NUM_PARAMETERS_NOT_COMPILED, NoIntrinsic) 752 752 , m_source(source) -
trunk/Source/JavaScriptCore/runtime/Executable.h
r207475 r207693 47 47 class FunctionCodeBlock; 48 48 class JSScope; 49 class JSW ASMModule;49 class JSWasmModule; 50 50 class LLIntOffsetsExtractor; 51 51 class ModuleProgramCodeBlock; … … 720 720 static const unsigned StructureFlags = Base::StructureFlags | StructureIsImmortal; 721 721 722 static WebAssemblyExecutable* create(VM& vm, const SourceCode& source, JSW ASMModule* module, unsigned functionIndex)722 static WebAssemblyExecutable* create(VM& vm, const SourceCode& source, JSWasmModule* module, unsigned functionIndex) 723 723 { 724 724 WebAssemblyExecutable* executable = new (NotNull, allocateCell<WebAssemblyExecutable>(vm.heap)) WebAssemblyExecutable(vm, source, module, functionIndex); … … 745 745 private: 746 746 friend class ExecutableBase; 747 WebAssemblyExecutable(VM&, const SourceCode&, JSW ASMModule*, unsigned functionIndex);747 WebAssemblyExecutable(VM&, const SourceCode&, JSWasmModule*, unsigned functionIndex); 748 748 749 749 static void visitChildren(JSCell*, SlotVisitor&); 750 750 751 751 SourceCode m_source; 752 WriteBarrier<JSW ASMModule> m_module;752 WriteBarrier<JSWasmModule> m_module; 753 753 unsigned m_functionIndex; 754 754 -
trunk/Source/JavaScriptCore/shell/CMakeLists.txt
r206434 r207693 51 51 52 52 set(TESTWASM_SOURCES 53 ../testW ASM.cpp53 ../testWasm.cpp 54 54 ) 55 55 -
trunk/Source/JavaScriptCore/testWasm.cpp
r207692 r207693 33 33 #include "ProtoCallFrame.h" 34 34 #include "VM.h" 35 #include "W ASMMemory.h"36 #include "W ASMPlan.h"35 #include "WasmMemory.h" 36 #include "WasmPlan.h" 37 37 38 38 #include <wtf/DataLog.h> … … 48 48 Vector<String> m_arguments; 49 49 bool m_runLEBTests { false }; 50 bool m_runW ASMTests { false };50 bool m_runWasmTests { false }; 51 51 52 52 void parseArguments(int, char**); … … 55 55 static NO_RETURN void printUsageStatement(bool help = false) 56 56 { 57 fprintf(stderr, "Usage: testW ASM[options]\n");57 fprintf(stderr, "Usage: testWasm [options]\n"); 58 58 fprintf(stderr, " -h|--help Prints this help message\n"); 59 59 fprintf(stderr, " -l|--leb Runs the LEB decoder tests\n"); 60 fprintf(stderr, " -w|--web Run the W ASMtests\n");60 fprintf(stderr, " -w|--web Run the Wasm tests\n"); 61 61 fprintf(stderr, "\n"); 62 62 … … 77 77 78 78 if (!strcmp(arg, "-w") || !strcmp(arg, "--web")) 79 m_runW ASMTests = true;79 m_runWasmTests = true; 80 80 } 81 81 … … 205 205 206 206 using namespace JSC; 207 using namespace W ASM;207 using namespace Wasm; 208 208 using namespace B3; 209 209 … … 226 226 227 227 // This won't work for floating point values but we don't have those yet. 228 return static_cast<T>(vmEntryToW ASM(ptr.executableAddress(), vm, &protoCallFrame));228 return static_cast<T>(vmEntryToWasm(ptr.executableAddress(), vm, &protoCallFrame)); 229 229 } 230 230 … … 241 241 242 242 // For now we inline the test files. 243 static void runW ASMTests()243 static void runWasmTests() 244 244 { 245 245 { … … 1190 1190 runLEBTests(); 1191 1191 1192 if (options.m_runW ASMTests) {1192 if (options.m_runWasmTests) { 1193 1193 #if ENABLE(WEBASSEMBLY) 1194 1194 JSC::initializeThreading(); 1195 1195 vm = &JSC::VM::create(JSC::LargeHeap).leakRef(); 1196 runW ASMTests();1196 runWasmTests(); 1197 1197 #else 1198 dataLogLn("W ASMis not enabled!");1198 dataLogLn("Wasm is not enabled!"); 1199 1199 return EXIT_FAILURE; 1200 1200 #endif // ENABLE(WEBASSEMBLY) -
trunk/Source/JavaScriptCore/wasm/JSWasmModule.cpp
r207692 r207693 25 25 26 26 #include "config.h" 27 #include "JSW ASMModule.h"27 #include "JSWasmModule.h" 28 28 29 29 #if ENABLE(WEBASSEMBLY) … … 40 40 namespace JSC { 41 41 42 const ClassInfo JSW ASMModule::s_info = { "WASMModule", &Base::s_info, 0, CREATE_METHOD_TABLE(JSWASMModule) };42 const ClassInfo JSWasmModule::s_info = { "WasmModule", &Base::s_info, 0, CREATE_METHOD_TABLE(JSWasmModule) }; 43 43 44 JSW ASMModule::JSWASMModule(VM& vm, Structure* structure, JSArrayBuffer* arrayBuffer)44 JSWasmModule::JSWasmModule(VM& vm, Structure* structure, JSArrayBuffer* arrayBuffer) 45 45 : Base(vm, structure) 46 46 { … … 49 49 } 50 50 51 void JSW ASMModule::destroy(JSCell* cell)51 void JSWasmModule::destroy(JSCell* cell) 52 52 { 53 JSW ASMModule* thisObject = jsCast<JSWASMModule*>(cell);54 thisObject->JSW ASMModule::~JSWASMModule();53 JSWasmModule* thisObject = jsCast<JSWasmModule*>(cell); 54 thisObject->JSWasmModule::~JSWasmModule(); 55 55 } 56 56 57 void JSW ASMModule::visitChildren(JSCell* cell, SlotVisitor& visitor)57 void JSWasmModule::visitChildren(JSCell* cell, SlotVisitor& visitor) 58 58 { 59 JSW ASMModule* thisObject = jsCast<JSWASMModule*>(cell);59 JSWasmModule* thisObject = jsCast<JSWasmModule*>(cell); 60 60 ASSERT_GC_OBJECT_INHERITS(thisObject, info()); 61 61 Base::visitChildren(thisObject, visitor); -
trunk/Source/JavaScriptCore/wasm/JSWasmModule.h
r207692 r207693 29 29 30 30 #include "JSDestructibleObject.h" 31 #include "W ASMFormat.h"31 #include "WasmFormat.h" 32 32 33 33 namespace JSC { 34 34 35 class JSW ASMModule : public JSDestructibleObject {35 class JSWasmModule : public JSDestructibleObject { 36 36 public: 37 37 typedef JSDestructibleObject Base; … … 56 56 }; 57 57 58 static JSW ASMModule* create(VM& vm, Structure* structure, JSArrayBuffer* arrayBuffer)58 static JSWasmModule* create(VM& vm, Structure* structure, JSArrayBuffer* arrayBuffer) 59 59 { 60 JSW ASMModule* module = new (NotNull, allocateCell<JSWASMModule>(vm.heap)) JSWASMModule(vm, structure, arrayBuffer);60 JSWasmModule* module = new (NotNull, allocateCell<JSWasmModule>(vm.heap)) JSWasmModule(vm, structure, arrayBuffer); 61 61 module->finishCreation(vm); 62 62 return module; … … 76 76 Vector<float>& f32Constants() { return m_f32Constants; } 77 77 Vector<double>& f64Constants() { return m_f64Constants; } 78 Vector<W ASM::Signature>& signatures() { return m_signatures; }79 Vector<W ASM::FunctionImport>& functionImports() { return m_functionImports; }80 Vector<W ASM::FunctionImportSignature>& functionImportSignatures() { return m_functionImportSignatures; }81 Vector<W ASM::Type>& globalVariableTypes() { return m_globalVariableTypes; }82 Vector<W ASM::FunctionDeclaration>& functionDeclarations() { return m_functionDeclarations; }83 Vector<W ASM::FunctionPointerTable>& functionPointerTables() { return m_functionPointerTables; }78 Vector<Wasm::Signature>& signatures() { return m_signatures; } 79 Vector<Wasm::FunctionImport>& functionImports() { return m_functionImports; } 80 Vector<Wasm::FunctionImportSignature>& functionImportSignatures() { return m_functionImportSignatures; } 81 Vector<Wasm::Type>& globalVariableTypes() { return m_globalVariableTypes; } 82 Vector<Wasm::FunctionDeclaration>& functionDeclarations() { return m_functionDeclarations; } 83 Vector<Wasm::FunctionPointerTable>& functionPointerTables() { return m_functionPointerTables; } 84 84 85 85 const JSArrayBuffer* arrayBuffer() const { return m_arrayBuffer.get(); } … … 91 91 92 92 private: 93 JSW ASMModule(VM&, Structure*, JSArrayBuffer*);93 JSWasmModule(VM&, Structure*, JSArrayBuffer*); 94 94 95 95 Vector<uint32_t> m_i32Constants; 96 96 Vector<float> m_f32Constants; 97 97 Vector<double> m_f64Constants; 98 Vector<W ASM::Signature> m_signatures;99 Vector<W ASM::FunctionImport> m_functionImports;100 Vector<W ASM::FunctionImportSignature> m_functionImportSignatures;101 Vector<W ASM::Type> m_globalVariableTypes;102 Vector<W ASM::FunctionDeclaration> m_functionDeclarations;103 Vector<W ASM::FunctionPointerTable> m_functionPointerTables;98 Vector<Wasm::Signature> m_signatures; 99 Vector<Wasm::FunctionImport> m_functionImports; 100 Vector<Wasm::FunctionImportSignature> m_functionImportSignatures; 101 Vector<Wasm::Type> m_globalVariableTypes; 102 Vector<Wasm::FunctionDeclaration> m_functionDeclarations; 103 Vector<Wasm::FunctionPointerTable> m_functionPointerTables; 104 104 105 105 WriteBarrier<JSArrayBuffer> m_arrayBuffer; -
trunk/Source/JavaScriptCore/wasm/WasmB3IRGenerator.cpp
r207692 r207693 25 25 26 26 #include "config.h" 27 #include "W ASMB3IRGenerator.h"27 #include "WasmB3IRGenerator.h" 28 28 29 29 #if ENABLE(WEBASSEMBLY) … … 40 40 #include "B3WasmBoundsCheckValue.h" 41 41 #include "VirtualRegister.h" 42 #include "W ASMCallingConvention.h"43 #include "W ASMFunctionParser.h"44 #include "W ASMMemory.h"42 #include "WasmCallingConvention.h" 43 #include "WasmFunctionParser.h" 44 #include "WasmMemory.h" 45 45 #include <wtf/Optional.h> 46 46 … … 51 51 } 52 52 53 namespace JSC { namespace W ASM{53 namespace JSC { namespace Wasm { 54 54 55 55 namespace { … … 728 728 } 729 729 730 } } // namespace JSC::W ASM730 } } // namespace JSC::Wasm 731 731 732 732 #endif // ENABLE(WEBASSEMBLY) -
trunk/Source/JavaScriptCore/wasm/WasmB3IRGenerator.h
r207692 r207693 30 30 #include "B3Compilation.h" 31 31 #include "VM.h" 32 #include "W ASMFormat.h"32 #include "WasmFormat.h" 33 33 34 34 extern "C" void dumpProcedure(void*); 35 35 36 namespace JSC { namespace W ASM{36 namespace JSC { namespace Wasm { 37 37 38 38 class Memory; … … 40 40 std::unique_ptr<FunctionCompilation> parseAndCompile(VM&, Vector<uint8_t>&, Memory*, FunctionInformation, const Vector<FunctionInformation>&, unsigned optLevel = 1); 41 41 42 } } // namespace JSC::W ASM42 } } // namespace JSC::Wasm 43 43 44 44 #endif // ENABLE(WEBASSEMBLY) -
trunk/Source/JavaScriptCore/wasm/WasmCallingConvention.cpp
r207692 r207693 25 25 26 26 #include "config.h" 27 #include "W ASMCallingConvention.h"27 #include "WasmCallingConvention.h" 28 28 29 29 #if ENABLE(WEBASSEMBLY) … … 31 31 #include <wtf/NeverDestroyed.h> 32 32 33 namespace JSC { namespace W ASM{33 namespace JSC { namespace Wasm { 34 34 35 35 const JSCCallingConvention& jscCallingConvention() … … 44 44 } 45 45 46 const W ASMCallingConvention& wasmCallingConvention()46 const WasmCallingConvention& wasmCallingConvention() 47 47 { 48 static LazyNeverDestroyed<JSCCallingConvention> staticW ASMCallingConvention;49 static std::once_flag staticW ASMCallingConventionFlag;50 std::call_once(staticW ASMCallingConventionFlag, [] () {48 static LazyNeverDestroyed<JSCCallingConvention> staticWasmCallingConvention; 49 static std::once_flag staticWasmCallingConventionFlag; 50 std::call_once(staticWasmCallingConventionFlag, [] () { 51 51 Vector<Reg> gprArgumentRegisters(GPRInfo::numberOfArgumentRegisters); 52 52 for (unsigned i = 0; i < GPRInfo::numberOfArgumentRegisters; ++i) … … 57 57 fprArgumentRegisters[i] = FPRInfo::toArgumentRegister(i); 58 58 59 staticW ASMCallingConvention.construct(WTFMove(gprArgumentRegisters), WTFMove(fprArgumentRegisters), RegisterSet::calleeSaveRegisters());59 staticWasmCallingConvention.construct(WTFMove(gprArgumentRegisters), WTFMove(fprArgumentRegisters), RegisterSet::calleeSaveRegisters()); 60 60 }); 61 61 62 return staticW ASMCallingConvention;62 return staticWasmCallingConvention; 63 63 } 64 64 65 } } // namespace JSC::W ASM65 } } // namespace JSC::Wasm 66 66 67 67 #endif // ENABLE(B3_JIT) -
trunk/Source/JavaScriptCore/wasm/WasmCallingConvention.h
r207692 r207693 40 40 #include "LinkBuffer.h" 41 41 #include "RegisterSet.h" 42 #include "W ASMFormat.h"42 #include "WasmFormat.h" 43 43 44 namespace JSC { namespace W ASM{44 namespace JSC { namespace Wasm { 45 45 46 46 typedef unsigned (*NextOffset)(unsigned currentOffset, B3::Type type); … … 156 156 typedef CallingConvention<jscHeaderSize, nextJSCOffset> JSCCallingConvention; 157 157 158 typedef JSCCallingConvention W ASMCallingConvention;158 typedef JSCCallingConvention WasmCallingConvention; 159 159 160 160 const JSCCallingConvention& jscCallingConvention(); 161 const W ASMCallingConvention& wasmCallingConvention();161 const WasmCallingConvention& wasmCallingConvention(); 162 162 163 } } // namespace JSC::W ASM163 } } // namespace JSC::Wasm 164 164 165 165 #endif // ENABLE(WEBASSEMBLY) -
trunk/Source/JavaScriptCore/wasm/WasmFormat.h
r207692 r207693 55 55 class JSFunction; 56 56 57 namespace W ASM{57 namespace Wasm { 58 58 59 59 enum Type : uint8_t { … … 66 66 }; 67 67 68 static_assert(I32 == 1, "W ASMneeds I32 to have the value 1");69 static_assert(I64 == 2, "W ASMneeds I64 to have the value 2");70 static_assert(F32 == 3, "W ASMneeds F32 to have the value 3");71 static_assert(F64 == 4, "W ASMneeds F64 to have the value 4");68 static_assert(I32 == 1, "Wasm needs I32 to have the value 1"); 69 static_assert(I64 == 2, "Wasm needs I64 to have the value 2"); 70 static_assert(F32 == 3, "Wasm needs F32 to have the value 3"); 71 static_assert(F64 == 4, "Wasm needs F64 to have the value 4"); 72 72 73 73 inline B3::Type toB3Type(Type type) … … 140 140 }; 141 141 142 } } // namespace JSC::W ASM142 } } // namespace JSC::Wasm 143 143 144 144 #endif // ENABLE(WEBASSEMBLY) -
trunk/Source/JavaScriptCore/wasm/WasmFunctionParser.h
r207692 r207693 28 28 #if ENABLE(WEBASSEMBLY) 29 29 30 #include "W ASMParser.h"30 #include "WasmParser.h" 31 31 #include <wtf/DataLog.h> 32 32 33 namespace JSC { namespace W ASM{33 namespace JSC { namespace Wasm { 34 34 35 35 enum class BlockType { … … 390 390 #undef CREATE_CASE 391 391 392 } } // namespace JSC::W ASM392 } } // namespace JSC::Wasm 393 393 394 394 #endif // ENABLE(WEBASSEMBLY) -
trunk/Source/JavaScriptCore/wasm/WasmMemory.cpp
r207692 r207693 25 25 26 26 #include "config.h" 27 #include "W ASMMemory.h"27 #include "WasmMemory.h" 28 28 29 29 #if ENABLE(WEBASSEMBLY) 30 30 31 namespace JSC { namespace W ASM{31 namespace JSC { namespace Wasm { 32 32 33 33 Memory::Memory(uint32_t startingSize, uint32_t capacity, const Vector<unsigned>& pinnedSizeRegisters) … … 75 75 } // namespace JSC 76 76 77 } // namespace W ASM77 } // namespace Wasm 78 78 79 79 #endif // ENABLE(WEBASSEMBLY) -
trunk/Source/JavaScriptCore/wasm/WasmMemory.h
r207692 r207693 28 28 #if ENABLE(WEBASSEMBLY) 29 29 30 #include "W ASMCallingConvention.h"30 #include "WasmCallingConvention.h" 31 31 32 32 #include <wtf/Vector.h> 33 33 34 namespace JSC { namespace W ASM{34 namespace JSC { namespace Wasm { 35 35 36 36 struct PinnedSizeRegisterInfo { … … 95 95 }; 96 96 97 } } // namespace JSC::W ASM97 } } // namespace JSC::Wasm 98 98 99 99 #endif // ENABLE(WEBASSEMLY) -
trunk/Source/JavaScriptCore/wasm/WasmModuleParser.cpp
r207692 r207693 25 25 26 26 #include "config.h" 27 #include "W ASMModuleParser.h"27 #include "WasmModuleParser.h" 28 28 29 29 #if ENABLE(WEBASSEMBLY) 30 30 31 #include "JSW ASMModule.h"32 #include "W ASMFormat.h"33 #include "W ASMOps.h"34 #include "W ASMSections.h"31 #include "JSWasmModule.h" 32 #include "WasmFormat.h" 33 #include "WasmOps.h" 34 #include "WasmSections.h" 35 35 36 36 #include <sys/mman.h> 37 37 38 namespace JSC { namespace W ASM{38 namespace JSC { namespace Wasm { 39 39 40 40 static const bool verbose = false; … … 287 287 } 288 288 289 } } // namespace JSC::W ASM289 } } // namespace JSC::Wasm 290 290 291 291 #endif // ENABLE(WEBASSEMBLY) -
trunk/Source/JavaScriptCore/wasm/WasmModuleParser.h
r207692 r207693 28 28 #if ENABLE(WEBASSEMBLY) 29 29 30 #include "W ASMMemory.h"31 #include "W ASMOps.h"32 #include "W ASMParser.h"30 #include "WasmMemory.h" 31 #include "WasmOps.h" 32 #include "WasmParser.h" 33 33 #include <wtf/Vector.h> 34 34 35 namespace JSC { namespace W ASM{35 namespace JSC { namespace Wasm { 36 36 37 37 class ModuleParser : public Parser { … … 62 62 }; 63 63 64 } } // namespace JSC::W ASM64 } } // namespace JSC::Wasm 65 65 66 66 #endif // ENABLE(WEBASSEMBLY) -
trunk/Source/JavaScriptCore/wasm/WasmOps.h
r207692 r207693 32 32 #include <cstdint> 33 33 34 namespace JSC { namespace W ASM{34 namespace JSC { namespace Wasm { 35 35 36 36 #define FOR_EACH_WASM_SPECIAL_OP(macro) \ … … 244 244 } 245 245 246 } } // namespace JSC::W ASM246 } } // namespace JSC::Wasm 247 247 248 248 #endif // ENABLE(WEBASSEMBLY) -
trunk/Source/JavaScriptCore/wasm/WasmParser.h
r207692 r207693 30 30 #include "B3Compilation.h" 31 31 #include "B3Procedure.h" 32 #include "W ASMFormat.h"33 #include "W ASMOps.h"34 #include "W ASMSections.h"32 #include "WasmFormat.h" 33 #include "WasmOps.h" 34 #include "WasmSections.h" 35 35 #include <wtf/LEBDecoder.h> 36 36 37 namespace JSC { namespace W ASM{37 namespace JSC { namespace Wasm { 38 38 39 39 class Parser { … … 129 129 } 130 130 131 } } // namespace JSC::W ASM131 } } // namespace JSC::Wasm 132 132 133 133 #endif // ENABLE(WEBASSEMBLY) -
trunk/Source/JavaScriptCore/wasm/WasmPlan.cpp
r207692 r207693 25 25 26 26 #include "config.h" 27 #include "W ASMPlan.h"27 #include "WasmPlan.h" 28 28 29 29 #if ENABLE(WEBASSEMBLY) 30 30 31 31 #include "B3Compilation.h" 32 #include "W ASMB3IRGenerator.h"33 #include "W ASMCallingConvention.h"34 #include "W ASMModuleParser.h"32 #include "WasmB3IRGenerator.h" 33 #include "WasmCallingConvention.h" 34 #include "WasmModuleParser.h" 35 35 #include <wtf/DataLog.h> 36 36 37 namespace JSC { namespace W ASM{37 namespace JSC { namespace Wasm { 38 38 39 39 static const bool verbose = false; … … 68 68 } 69 69 70 } } // namespace JSC::W ASM70 } } // namespace JSC::Wasm 71 71 72 72 #endif // ENABLE(WEBASSEMBLY) -
trunk/Source/JavaScriptCore/wasm/WasmPlan.h
r207692 r207693 30 30 #include "CompilationResult.h" 31 31 #include "VM.h" 32 #include "W ASMFormat.h"32 #include "WasmFormat.h" 33 33 #include <wtf/ThreadSafeRefCounted.h> 34 34 #include <wtf/Vector.h> 35 35 36 namespace JSC { namespace W ASM{36 namespace JSC { namespace Wasm { 37 37 class Memory; 38 38 39 // TODO: This should create a W ASMModule not a list of functions.39 // TODO: This should create a Wasm Module not a list of functions. 40 40 class Plan { 41 41 public: … … 46 46 }; 47 47 48 } } // namespace JSC::W ASM48 } } // namespace JSC::Wasm 49 49 50 50 #endif // ENABLE(WEBASSEMBLY) -
trunk/Source/JavaScriptCore/wasm/WasmSections.h
r207692 r207693 28 28 #if ENABLE(WEBASSEMBLY) 29 29 30 namespace JSC { namespace W ASM{30 namespace JSC { namespace Wasm { 31 31 32 32 struct Sections { … … 46 46 }; 47 47 48 } } // namespace JSC::W ASM48 } } // namespace JSC::Wasm 49 49 50 50 #endif // ENABLE(WEBASSEMBLY)
Note: See TracChangeset
for help on using the changeset viewer.