Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix various misspellings of "address" #6993

Merged
merged 1 commit into from
May 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions compiler/aarch64/codegen/ConstantDataSnippet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,16 +82,16 @@ TR::ARM64ConstantDataSnippet::addMetaDataForCodeAddress(uint8_t *cursor)
{
//for optimizations where we are trying to relocate either profiled j9class or getfrom signature we can't use node to get the target address
//so we need to pass it to relocation in targetaddress2 for now
uint8_t * targetAdress2 = NULL;
uint8_t * targetAddress2 = NULL;
if (getNode()->getOpCodeValue() != TR::aconst)
{
targetAdress2 = reinterpret_cast<uint8_t *>(*(reinterpret_cast<uint64_t*>(cursor)));
targetAddress2 = reinterpret_cast<uint8_t *>(*(reinterpret_cast<uint64_t*>(cursor)));
}
cg()->addExternalRelocation(
TR::ExternalRelocation::create(
cursor,
reinterpret_cast<uint8_t *>(node),
targetAdress2,
targetAddress2,
reloType,
cg()),
__FILE__,
Expand Down
2 changes: 1 addition & 1 deletion compiler/il/OMRStaticSymbol.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ namespace OMR
{

/**
* A symbol with an adress
* A symbol with an address
*/
class OMR_EXTENSIBLE StaticSymbol : public TR::Symbol
{
Expand Down
8 changes: 4 additions & 4 deletions compiler/z/codegen/ConstantDataSnippet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -297,19 +297,19 @@ TR::S390ConstantDataSnippet::addMetaDataForCodeAddress(uint8_t *cursor)
//for optimizations where we are trying to relocate either profiled j9class or getfrom signature we can't use node to get the target address
//so we need to pass it to relocation in targetaddress2 for now
//two instances where use this relotype in such way are: profile checkcast and arraystore check object check optimiztaions
uint8_t * targetAdress2 = NULL;
uint8_t * targetAddress2 = NULL;
if (getNode()->getOpCodeValue() != TR::aconst)
{
if (cg()->comp()->target().is64Bit())
targetAdress2 = (uint8_t *) *((uint64_t*) cursor);
targetAddress2 = (uint8_t *) *((uint64_t*) cursor);
else
targetAdress2 = (uint8_t *) *((uintptr_t*) cursor);
targetAddress2 = (uint8_t *) *((uintptr_t*) cursor);
}
cg()->addExternalRelocation(
TR::ExternalRelocation::create(
cursor,
(uint8_t *) getNode(),
targetAdress2,
targetAddress2,
(TR_ExternalRelocationTargetKind) reloType,
cg()),
__FILE__,
Expand Down
2 changes: 1 addition & 1 deletion fvtest/porttest/omrvmemTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1645,7 +1645,7 @@ TEST(PortVmemTest, vmem_testReserveMemoryExTopDown)
/**
* See @ref omrvmem_testReserveMemoryEx_impl
*/
TEST(PortVmemTest, vmem_testReserveMemoryExStrictAdress)
TEST(PortVmemTest, vmem_testReserveMemoryExStrictAddress)
{
OMRPORT_ACCESS_FROM_OMRPORT(portTestEnv->getPortLibrary());
if (memoryIsAvailable(OMRPORTLIB, TRUE)) {
Expand Down
2 changes: 1 addition & 1 deletion jitbuilder/lljb/include/lljb/Compiler.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class Compiler

/**
* @brief create a mapping between the llvm::Function in a module to
* the adress in the codecache with the compiled method
* the address in the codecache with the compiled method
*
* @param llvmFunc the llvm::Function *
* @param entry the void *
Expand Down
2 changes: 1 addition & 1 deletion port/ztpf/omrosdump_helpers.c
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ buildELFHeader(Elf64_Ehdr *buffer)
* 0004 0004 p_flags Phdr flags (permissions +OS_specific bits)<b>
* 0008 0008 p_offset Offset in file (0-relative) of memory image<b>
* 0010 0008 p_vaddr Virtual address of memory image @ run time<b>
* 0018 0008 p_addr Physical adress of memory image @ run time<b>
* 0018 0008 p_addr Physical address of memory image @ run time<b>
* 0020 0008 p_filesz Size of memory image in file<b>
* 0028 0008 p_memsz Size of memory image in memory<b>
* 0030 0008 p_align Boundary to align to when loaded<b>
Expand Down