| Index: src/arm64/simulator-arm64.h
|
| diff --git a/src/a64/simulator-a64.h b/src/arm64/simulator-arm64.h
|
| similarity index 96%
|
| rename from src/a64/simulator-a64.h
|
| rename to src/arm64/simulator-arm64.h
|
| index 1ef891a151ecee375870f5e6073f01cc93d1d773..6a7353b4612315200eb40d05d671ae47bd45e3ca 100644
|
| --- a/src/a64/simulator-a64.h
|
| +++ b/src/arm64/simulator-arm64.h
|
| @@ -25,8 +25,8 @@
|
| // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
| -#ifndef V8_A64_SIMULATOR_A64_H_
|
| -#define V8_A64_SIMULATOR_A64_H_
|
| +#ifndef V8_ARM64_SIMULATOR_ARM64_H_
|
| +#define V8_ARM64_SIMULATOR_ARM64_H_
|
|
|
| #include <stdarg.h>
|
| #include <vector>
|
| @@ -37,10 +37,10 @@
|
| #include "utils.h"
|
| #include "allocation.h"
|
| #include "assembler.h"
|
| -#include "a64/assembler-a64.h"
|
| -#include "a64/decoder-a64.h"
|
| -#include "a64/disasm-a64.h"
|
| -#include "a64/instrument-a64.h"
|
| +#include "arm64/assembler-arm64.h"
|
| +#include "arm64/decoder-arm64.h"
|
| +#include "arm64/disasm-arm64.h"
|
| +#include "arm64/instrument-arm64.h"
|
|
|
| #define REGISTER_CODE_LIST(R) \
|
| R(0) R(1) R(2) R(3) R(4) R(5) R(6) R(7) \
|
| @@ -53,28 +53,28 @@ namespace internal {
|
|
|
| #if !defined(USE_SIMULATOR)
|
|
|
| -// Running without a simulator on a native A64 platform.
|
| +// Running without a simulator on a native ARM64 platform.
|
| // When running without a simulator we call the entry directly.
|
| #define CALL_GENERATED_CODE(entry, p0, p1, p2, p3, p4) \
|
| (entry(p0, p1, p2, p3, p4))
|
|
|
| -typedef int (*a64_regexp_matcher)(String* input,
|
| - int64_t start_offset,
|
| - const byte* input_start,
|
| - const byte* input_end,
|
| - int* output,
|
| - int64_t output_size,
|
| - Address stack_base,
|
| - int64_t direct_call,
|
| - void* return_address,
|
| - Isolate* isolate);
|
| +typedef int (*arm64_regexp_matcher)(String* input,
|
| + int64_t start_offset,
|
| + const byte* input_start,
|
| + const byte* input_end,
|
| + int* output,
|
| + int64_t output_size,
|
| + Address stack_base,
|
| + int64_t direct_call,
|
| + void* return_address,
|
| + Isolate* isolate);
|
|
|
| // Call the generated regexp code directly. The code at the entry address
|
| -// should act as a function matching the type a64_regexp_matcher.
|
| +// should act as a function matching the type arm64_regexp_matcher.
|
| // The ninth argument is a dummy that reserves the space used for
|
| // the return address added by the ExitFrame in native calls.
|
| #define CALL_GENERATED_REGEXP_CODE(entry, p0, p1, p2, p3, p4, p5, p6, p7, p8) \
|
| - (FUNCTION_CAST<a64_regexp_matcher>(entry)( \
|
| + (FUNCTION_CAST<arm64_regexp_matcher>(entry)( \
|
| p0, p1, p2, p3, p4, p5, p6, p7, NULL, p8))
|
|
|
| #define TRY_CATCH_FROM_ADDRESS(try_catch_address) \
|
| @@ -905,4 +905,4 @@ class SimulatorStack : public v8::internal::AllStatic {
|
|
|
| } } // namespace v8::internal
|
|
|
| -#endif // V8_A64_SIMULATOR_A64_H_
|
| +#endif // V8_ARM64_SIMULATOR_ARM64_H_
|
|
|