| /ark/js_runtime/ |
| D | README.md | 1 # ARK JS Runtime Module<a name="EN-US_TOPIC_0000001183610495"></a> 3 - [ARK JS Runtime Module<a name="EN-US_TOPIC_0000001183610495"></a>](#ark-js-runtime-module) 29 │ ├─ class_linker # Bytecode pre-processing module 34 │ ├─ ic # Inline cache module 38 │ ├─ mem # Memory management module 40 │ ├─ regexp # Regular expression engine module 41 │ ├─ snapshot/mem # Snapshot module 46 └─ test # Module test cases
|
| /ark/js_runtime/ecmascript/compiler/tests/ |
| D | stub_tests.cpp | 85 auto module = stubModule.GetModule(); in HWTEST_F_L0() local 95 LLVMAssembler assembler(module); in HWTEST_F_L0() 107 auto module = stubModule.GetModule(); in HWTEST_F_L0() local 117 LLVMAssembler assembler(module); in HWTEST_F_L0() 131 auto module = stubModule.GetModule(); in HWTEST_F_L0() local 141 LLVMAssembler assembler(module); in HWTEST_F_L0() 156 auto module = stubModule.GetModule(); in HWTEST_F_L0() local 166 LLVMAssembler assembler(module); in HWTEST_F_L0() 188 auto module = stubModule.GetModule(); in HWTEST_F_L0() local 198 LLVMAssembler assembler(module); in HWTEST_F_L0() [all …]
|
| /ark/js_runtime/ecmascript/ |
| D | ecma_module.cpp | 36 void EcmaModule::AddItem(const JSThread *thread, JSHandle<EcmaModule> module, JSHandle<JSTaggedValu… in AddItem() argument 39 JSMutableHandle<JSTaggedValue> data(thread, module->GetNameDictionary()); in AddItem() 46 module->SetNameDictionary(thread, newDict); in AddItem() 49 void EcmaModule::RemoveItem(const JSThread *thread, JSHandle<EcmaModule> module, JSHandle<JSTaggedV… in RemoveItem() argument 51 JSHandle<JSTaggedValue> data(thread, module->GetNameDictionary()); in RemoveItem() 59 module->SetNameDictionary(thread, newDict); in RemoveItem() 113 void ModuleManager::AddModule(JSHandle<JSTaggedValue> moduleName, JSHandle<JSTaggedValue> module) in AddModule() argument 119 …NameDictionary::Put(thread, dict, moduleName, module, PropertyAttributes::Default()).GetTaggedValu… in AddModule() 202 JSHandle<JSTaggedValue> module = GetModule(thread, JSHandle<JSTaggedValue>::Cast(moduleName)); in AddModuleItem() local 203 if (module->IsUndefined()) { in AddModuleItem() [all …]
|
| D | ecma_module.h | 36 …static void AddItem(const JSThread *thread, JSHandle<EcmaModule> module, JSHandle<JSTaggedValue> i… 39 …static void RemoveItem(const JSThread *thread, JSHandle<EcmaModule> module, JSHandle<JSTaggedValue… 63 void AddModule(JSHandle<JSTaggedValue> moduleName, JSHandle<JSTaggedValue> module); 81 JSHandle<JSTaggedValue> GetModuleItem(const JSThread *thread, JSHandle<JSTaggedValue> module,
|
| /ark/runtime_core/templates/events/ |
| D | events.h.erb | 18 #ifndef PANDA_<%= Common::module.name.upcase %>_EVENTS_GEN_H_ 19 #define PANDA_<%= Common::module.name.upcase %>_EVENTS_GEN_H_ 23 namespace <%= Common::module.namespace %> { 59 } // namespace <%= Common::module.namespace %> 61 #endif // PANDA_<%= Common::module.name.upcase %>_EVENTS_GEN_H_
|
| /ark/js_runtime/ecmascript/compiler/ |
| D | stub_aot_compiler.cpp | 38 …explicit StubPassData(Stub *stub, LLVMStubModule *module) : PassData(nullptr), module_(module), st… in StubPassData() argument 79 void CreateCodeGen(LLVMStubModule *module) in CreateCodeGen() argument 81 llvmImpl_ = std::make_unique<LLVMIRGeneratorImpl>(module); in CreateCodeGen() 95 …tCompiler::BuildStubModuleAndSave(const std::string &triple, panda::ecmascript::StubModule *module, in BuildStubModuleAndSave() argument 115 assembler.AssembleStubModule(module); in BuildStubModuleAndSave() 124 module->SetCode(code); in BuildStubModuleAndSave() 125 module->Save(filename); in BuildStubModuleAndSave()
|
| D | options.h.erb | 18 #ifndef PANDA_<%= Common::module.name.upcase %>_OPTIONS_GEN_H_ 19 #define PANDA_<%= Common::module.name.upcase %>_OPTIONS_GEN_H_ 28 namespace <%= Common::module.namespace %> { 30 class <%= Common::module.name %>_Options { 43 …explicit <%= Common::module.name %>_Options(const std::string &exe_path) : exe_dir_(GetExeDir(exe_… 116 } // namespace <%= Common::module.namespace %> 118 #endif // PANDA_<%= Common::module.name.upcase %>_OPTIONS_GEN_H_
|
| D | llvm_codegen.h | 150 explicit LLVMAssembler(LLVMModuleRef module); 201 explicit LLVMIRGeneratorImpl(LLVMStubModule *module) : module_(module) {} in LLVMIRGeneratorImpl() argument 212 explicit LLVMModuleAssembler(LLVMStubModule *module) in LLVMModuleAssembler() argument 213 : stubmodule_(module), assembler_(module->GetModule()) {} in LLVMModuleAssembler() 215 void AssembleStubModule(panda::ecmascript::StubModule *module);
|
| D | llvm_codegen.cpp | 43 #include "llvm/IR/Module.h" 70 void LLVMModuleAssembler::AssembleStubModule(StubModule *module) in AssembleStubModule() argument 82 module->SetStubEntry(i, stubEntry - codeBuff); in AssembleStubModule() 94 module->SetHostCodeSectionAddr(codeBuff); in AssembleStubModule() 96 module->SetStackMapAddr(reinterpret_cast<uintptr_t>(assembler_.GetStackMapsSection())); in AssembleStubModule() 97 module->SetStackMapSize(assembler_.GetStackMapsSize()); in AssembleStubModule() 219 …// pass manager creation:rs4gc pass is the only pass in modPass, other opt module-based pass are i… in BuildAndRunPasses() 229 // run module pass, function pass, module pass1 in BuildAndRunPasses() 246 LLVMAssembler::LLVMAssembler(LLVMModuleRef module) in LLVMAssembler() argument 247 : module_(module) in LLVMAssembler() [all …]
|
| D | llvm_ir_builder.h | 206 … LLVMStubModule *module, LLVMValueRef function, const CompilationConfig *cfg); 219 LLVMValueRef CallingFp(LLVMModuleRef &module, LLVMBuilderRef &builder, bool isCaller); 222 LLVMValueRef ReadRegister(LLVMModuleRef &module, LLVMBuilderRef &builder, 224 void GenPrologue(LLVMModuleRef &module, LLVMBuilderRef &builder);
|
| /ark/runtime_core/templates/options/ |
| D | options.h.erb | 18 #ifndef PANDA_<%= Common::module.name.upcase %>_OPTIONS_GEN_H_ 19 #define PANDA_<%= Common::module.name.upcase %>_OPTIONS_GEN_H_ 28 namespace <%= Common::module.namespace %> { 126 } // namespace <%= Common::module.namespace %> 128 #endif // PANDA_<%= Common::module.name.upcase %>_OPTIONS_GEN_H_
|
| /ark/ts2abc/ts2panda/scripts/ |
| D | generate_js_bytecode.py | 41 parser.add_argument("--module", action='store_true', 42 help='whether is module') 85 if input_arguments.module:
|
| D | diagnosticMessages.json | 54 "'{0}' modifier cannot appear on a module or namespace element.": { 258 "An import declaration can only be used in a namespace or module.": { 262 "An export declaration can only be used in a module.": { 302 "Identifier expected. '{0}' is a reserved word at the top-level of a module.": { 326 "A default export can only be used in an ECMAScript-style module.": { 430 "Cannot export '{0}'. Only local declarations can be exported from a module.": {
|
| D | diagnostic.rb | 15 module Diagnostic
|
| /ark/runtime_core/isa/ |
| D | gen.rb | 20 # Extend Module to implement a decorator for ISAPI methods 21 class Module class 35 module Gen
|
| /ark/runtime_core/tests/cts-generator/runner/reporters/ |
| D | string_logger.rb | 14 module TestRunner 15 module Reporters
|
| /ark/runtime_core/templates/ |
| D | common.rb | 107 module Common 134 def module method 135 @data.module
|
| /ark/js_runtime/test/ |
| D | test_helper.gni | 87 extra_args += [ "--module" ] 99 foreach(module, invoker.extra_modules) { 100 _extra_modules_ += [ "$target_out_dir/${module}.abc" ]
|
| /ark/ts2abc/ts2panda/ |
| D | webpack.config.js | 48 module: { property 74 module.exports = (env, argv) => {
|
| D | tsconfig.json | 12 "module": "commonjs", string
|
| /ark/ts2abc/test262/ |
| D | harness.patch | 190 module.exports = simpleReporter; 196 module.exports = function saveCompiledTest(test, options) { 212 @@ -35,7 +35,7 @@ module.exports = function validate(test) { 221 @@ -46,7 +46,7 @@ module.exports = function validate(test) { 230 @@ -78,9 +78,9 @@ module.exports = function validate(test) {
|
| /ark/runtime_core/tests/cts-generator/runner/ |
| D | runner.rb | 14 module TestRunner 112 end # module
|
| /ark/ts2abc/testTs/ |
| D | test-case.patch | 717 @@ -73,3 +73,4 @@ declare module 'external1' { 748 +declare module "foo*baz" { 752 +declare module "foo*baz" { 757 +declare module "foos*" { 761 +declare module "*!text" { 769 @@ -4,6 +4,7 @@ module M { 772 export declare module M { } 776 module M2 { 777 @@ -12,4 +13,5 @@ module M2 { 780 declare module M { } [all …]
|
| /ark/runtime_core/dprof/daemon/ |
| D | options.yaml | 14 module:
|
| /ark/js_runtime/test/moduletest/module/ |
| D | BUILD.gn | 26 host_moduletest_action("module") {
|