Skip to content

Commit

Permalink
Fix arm build error
Browse files Browse the repository at this point in the history
  • Loading branch information
kuaiwei committed Apr 12, 2024
1 parent e2d3e1e commit 4bd183f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/hotspot/share/asm/assembler.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2023, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -378,9 +378,10 @@ class AbstractAssembler : public ResourceObj {

void register_skipped(int size) { code_section()->register_skipped(size); }

address inst_mark() const { return code_section()->mark(); }
void set_inst_mark() { code_section()->set_mark(pc()); }
void clear_inst_mark() { code_section()->clear_mark(); }
address inst_mark() const { return code_section()->mark(); }
void set_inst_mark() { code_section()->set_mark(pc()); }
void set_inst_mark(address addr) { code_section()->set_mark(addr); }
void clear_inst_mark() { code_section()->clear_mark(); }
void set_inst_end(address addr) { code_section()->set_end(addr); }

// Constants in code
Expand Down

0 comments on commit 4bd183f

Please sign in to comment.