| /ark/runtime_core/docs/ |
| D | interpreter-language-extensions.md | 1 # Interpreter Language Specific Extension 3 …m allows for optimization of bytecode for a particular language by introducing language-specific … 42 …ed to construct an [`InstructionHandler`](../runtime/interpreter/interpreter-inl.h) instance that … 46 ## Language specific instructions 48 To add a language specific builtin, we need to add a new class that will extend `InstructionHandler… 60 this->template MoveToNextInst<format, false>(); 101 …t/interpreter` directory and included to [`interpreter-inl.h`](../runtime/interpreter/interpreter-…
|
| D | runtime-class.md | 3 Panda runtime uses `panda::Class` to store all necessary language independent information about cla… 8 panda::Class *cls = obj->ClassAddr()->GetManagedObject(); 27 mirror class (`coretypes::Class`) --------> +------------------+ <-+ 29 | `Class Word` |-----+ 30 +------------------+ | | 32 panda class (`panda::Class`) ---------> +------------------+ <-|-+ 34 | `Managed Object` |---+ 36 +------------------+ 40 …nd vice versa without dereferencies if we know language context and it's constant (some language s… 45 auto *runtime_class = managed_class_obj->GetRuntimeClass(); [all …]
|
| D | assembly_format.md | 5 … assembly file format for Panda platform. Assembly files are human-readable and human-writable pla… 11 …language that is (or intended to be) supported by the platform. Instead, Panda Assembly can be tho… 12 …bject", and "method" should not be enforced at the assembly language level because a language that… 13 * When Panda assembler generates a binary excutable file, it is not expected to check for language … 14 …y and internal structure of source code files written in Panda Assembly language. It should proces… 28 * Floating-point decimal/hexadecimal literals that can be represented with IEEE 754. Hexadecimal fl… 32 …e of any characters enclosed in `"` characters. Non-printable characters and characters out of Lat… 36 - `\"` double quote, `\x22` 37 - `\a` alert, `\x07` 38 - `\b` backspace, `\x08` [all …]
|
| /ark/runtime_core/runtime/mem/gc/ |
| D | gc_extension_data.h | 7 * http://www.apache.org/licenses/LICENSE-2.0 12 * See the License for the specific language governing permissions and 24 // Base class for all GC language-specific data holders. 25 // Can be extended for different language types. 47 // language extension got the corresponding type of data
|
| /ark/runtime_core/runtime/asm_defines/ |
| D | defines_generator.rb | 7 # http://www.apache.org/licenses/LICENSE-2.0 12 # See the License for the specific language governing permissions and 22 * http://www.apache.org/licenses/LICENSE-2.0 27 * See the License for the specific language governing permissions and 31 // Autogenerated file -- DO NOT EDIT! 37 defines = data.scan /"\^\^(\w+) [#\$]?([-+]?\d+)\^\^"/ 41 file.puts "// NOLINTNEXTLINE(cppcoreguidelines-macro-usage)"
|
| /ark/runtime_core/assembler/extensions/ecmascript/ |
| D | metadata.yaml | 6 # http://www.apache.org/licenses/LICENSE-2.0 11 # See the License for the specific language governing permissions and 14 language: EcmaScript 17 - name: annotation 21 - record 23 - name: extends 27 - record
|
| /ark/runtime_core/assembler/ |
| D | define.h | 7 * http://www.apache.org/licenses/LICENSE-2.0 12 * See the License for the specific language governing permissions and 19 /* Implementation-specific definitions */ 43 _(".language", LANG) \
|
| D | assembly-program.h | 7 * http://www.apache.org/licenses/LICENSE-2.0 12 * See the License for the specific language governing permissions and 22 #include "assembly-function.h" 23 #include "assembly-record.h" 24 #include "assembly-type.h" 25 #include "assembly-methodhandle.h" 26 #include "assembly-literals.h" 33 extensions::Language lang {extensions::Language::PANDA_ASSEMBLY};
|
| D | assembly-record.h | 7 * http://www.apache.org/licenses/LICENSE-2.0 12 * See the License for the specific language governing permissions and 24 #include "assembly-field.h" 33 extensions::Language language; member 42 …Record(std::string s, extensions::Language lang, size_t b_l, size_t b_r, std::string f_c, bool d, … in Record() 44 language(lang), in Record() 50 Record(std::string s, extensions::Language lang) in Record() 51 …: name(std::move(s)), language(lang), metadata(extensions::MetadataExtension::CreateRecordMetadata… in Record() 57 return !metadata->IsForeign(); in HasImplementation()
|
| /ark/runtime_core/runtime/mem/gc/lang/ |
| D | gc_lang.h | 7 * http://www.apache.org/licenses/LICENSE-2.0 12 * See the License for the specific language governing permissions and 23 // GCLang class is an interlayer between language-agnostic GC class and different implementations o… 24 // It contains language-specific methods that are used in several types of GC (such as StwGC, GenGC…
|
| /ark/runtime_core/runtime/tooling/ |
| D | pt_lang_extension.cpp | 7 * http://www.apache.org/licenses/LICENSE-2.0 12 * See the License for the specific language governing permissions and 21 PandaUniquePtr<PtLangExt> CreatePtLangExt(std::string_view language) in CreatePtLangExt() argument 23 return Runtime::GetCurrent()->GetLanguageContext(std::string(language)).CreatePtLangExt(); in CreatePtLangExt()
|
| /ark/runtime_core/assembler/tests/ |
| D | mangling_tests.cpp | 7 * http://www.apache.org/licenses/LICENSE-2.0 12 * See the License for the specific language governing permissions and 18 #include "assembly-function.h" 28 extensions::Language language {extensions::Language::PANDA_ASSEMBLY}; in TEST() local 29 params.emplace_back(Type {"type1", 0}, language); in TEST() 30 params.emplace_back(Type {"type2", 0}, language); in TEST() 31 params.emplace_back(Type {"type3", 0}, language); in TEST()
|
| /ark/runtime_core/tests/cts-generator/generator/ |
| D | test_base.rb | 6 # http://www.apache.org/licenses/LICENSE-2.0 11 # See the License for the specific language governing permissions and 38 # http://www.apache.org/licenses/LICENSE-2.0 43 # See the License for the specific language governing permissions and 56 content.puts "## runner-option: #{s}" 58 content.puts "## runner-option: ignore" if ignore 59 content.puts "## runner-option: bugid: #{bugids.join ', '}" if bugids.length > 0 60 content.puts "## runner-option: tags: #{tags.join ', '}" if tags.length > 0 61 content.puts "## panda-options: #{test_panda_options}" if test_panda_options.length > 0 63 … # Options for test with main wrapper function to avoid false-positive cases, for executable tests [all …]
|
| /ark/runtime_core/runtime/include/ |
| D | locks.h | 7 * http://www.apache.org/licenses/LICENSE-2.0 12 * See the License for the specific language governing permissions and 51 …* Lock used for preventing object heap modifications (for example at GC<->JIT,ManagedCode interact… 53 static MutatorLock *mutator_lock; // NOLINT(misc-non-private-member-variables-in-classes) 57 …static os::memory::Mutex *custom_tls_lock; // NOLINT(misc-non-private-member-variables-in-classes) 60 * The lock is a specific lock for exclusive suspension process,
|
| /ark/runtime_core/tests/verifier-tests/ |
| D | bug_2088.pa | 6 # http://www.apache.org/licenses/LICENSE-2.0 11 # See the License for the specific language governing permissions and 16 #--- 17 #- title: Get field from object 22 # - sig: ldobj.64 v:in:ref, field_id 25 # - op_v_8_id_32 27 # - field_id_size 29 ## runner-option: verifier-failure 30 ## runner-option: bugid: 1834 31 ## runner-option: tags: verifier [all …]
|
| D | bug_2084.pa | 6 # http://www.apache.org/licenses/LICENSE-2.0 11 # See the License for the specific language governing permissions and 16 #--- 17 #- title: Get field from object 22 # - sig: ldobj.64 v:in:ref, field_id 25 # - op_v_8_id_32 27 ## runner-option: verifier-failure 28 ## runner-option: bugid: 1324 29 ## runner-option: tags: verifier 35 .language PandaAssembly
|
| D | bug_2085.pa | 6 # http://www.apache.org/licenses/LICENSE-2.0 11 # See the License for the specific language governing permissions and 16 #--- 17 #- title: Get field from object 22 # - sig: ldobj.64 v:in:ref, field_id 25 # - op_v_8_id_32 27 # - v1_object 29 ## runner-option: verifier-failure 30 ## runner-option: bugid: 1324, 1826 31 ## runner-option: tags: verifier, release, clang_release_sanitizer [all …]
|
| D | mr_3176.pa | 6 # http://www.apache.org/licenses/LICENSE-2.0 11 # See the License for the specific language governing permissions and 14 # dummy test for test flag --verification-options verify-only-entry-point
|
| /ark/runtime_core/cmake/ |
| D | Testing.cmake | 6 # http://www.apache.org/licenses/LICENSE-2.0 11 # See the License for the specific language governing permissions and 26 # Target for building all Googletest-based tests: 30 # Googletest-based tests depends on building them: 40 # Add Googletest-based tests to the source tree. 64 # If OUTPUT_DIRECTORY is not defined, the binary will be put to bin-gtests 68 # * This function is a no-op if Googletest is not found. 73 # * Target-specific definition PANDA_GTEST is added. 74 # * Googletest-specific libraries are linked to test_name by default, 82 list(APPEND ARGV "OUTPUT_DIRECTORY" "${PANDA_BINARY_ROOT}/bin-gtests")
|
| /ark/runtime_core/assembler/extensions/ |
| D | extensions.h | 7 * http://www.apache.org/licenses/LICENSE-2.0 12 * See the License for the specific language governing permissions and 26 enum class Language { ECMASCRIPT, PANDA_ASSEMBLY }; enum 28 std::optional<Language> LanguageFromString(std::string_view lang); 30 std::string LanguageToString(const Language &lang); 32 std::string GetCtorName(Language lang); 34 std::string GetCctorName(Language lang); 38 static std::unique_ptr<RecordMetadata> CreateRecordMetadata(Language lang); 40 static std::unique_ptr<FieldMetadata> CreateFieldMetadata(Language lang); 42 static std::unique_ptr<FunctionMetadata> CreateFunctionMetadata(Language lang); [all …]
|
| /ark/runtime_core/cmake/toolchain/ |
| D | host_clang_12.cmake | 6 # http://www.apache.org/licenses/LICENSE-2.0 11 # See the License for the specific language governing permissions and 15 set_c_compiler(clang-12) 16 set_cxx_compiler(clang++-12) 18 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-return-stack-address")
|
| /ark/runtime_core/runtime/mem/ |
| D | vm_handle.h | 7 * http://www.apache.org/licenses/LICENSE-2.0 12 * See the License for the specific language governing permissions and 29 // VMHandle should be used in language-agnostic part of runtime 38 address_ = thread->GetTopScope<ObjectHeader *>()->NewHandle(object); in VMHandle() 62 T *operator->() const
|
| /ark/runtime_core/dprof/daemon/ |
| D | options.yaml | 6 # http://www.apache.org/licenses/LICENSE-2.0 11 # See the License for the specific language governing permissions and 19 - name: log-level 23 - debug 24 - info 25 - error 26 - fatal 29 - name: storage-dir
|
| /ark/runtime_core/ |
| D | .clang-format | 6 # http://www.apache.org/licenses/LICENSE-2.0 11 # See the License for the specific language governing permissions and 13 --- 14 Language: Cpp 16 AccessModifierOffset: -4 71 - foreach 72 - Q_FOREACH 73 - BOOST_FOREACH 76 - Regex: '^<ext/.*\.h>' 78 - Regex: '^<.*\.h>' [all …]
|
| /ark/runtime_core/tests/cts-coverage-tool/ |
| D | non_testable.yaml | 6 # http://www.apache.org/licenses/LICENSE-2.0 11 # See the License for the specific language governing permissions and 13 --- 16 - title: Conversions between integer and floating point types 17 description: Conversion from floating-point types to integer one obeys the following 20 - title: Create new object 24 - title: Load accumulator from string constant pool 25 description: In dynamically-typed language context load string as 'any' value. 28 - title: Type conversions 30 Conversion from floating-point types to integer one obeys the following rules. [all …]
|