diff options
author | Michaël Zasso <targos@protonmail.com> | 2016-05-27 16:37:42 +0200 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2016-06-29 09:04:28 +0200 |
commit | 2cc29517966de7257a2f1b34c58c77225a21e05d (patch) | |
tree | 210bd177df2f06eec16e1e22edafdbcbffe66f8a /deps/v8/src/gdb-jit.cc | |
parent | bbf3838c70aaec1dd296fa75ae334fd1c7866df3 (diff) | |
download | android-node-v8-2cc29517966de7257a2f1b34c58c77225a21e05d.tar.gz android-node-v8-2cc29517966de7257a2f1b34c58c77225a21e05d.tar.bz2 android-node-v8-2cc29517966de7257a2f1b34c58c77225a21e05d.zip |
deps: update V8 to 5.1.281.69
Pick up the latest branch-head for V8 5.1. This branch brings in
improved language support and performance improvements. For full
details: http://v8project.blogspot.com/2016/04/v8-release-51.html
* Picks up the latest branch head for 5.1 [1]
* Edit v8 gitignore to allow trace_event copy
* Update V8 DEP trace_event as per deps/v8/DEPS [2]
[1] https://chromium.googlesource.com/v8/v8.git/+/dc81244
[2] https://chromium.googlesource.com/chromium/src/base/trace_event/common/+/c8c8665
PR-URL: https://github.com/nodejs/node/pull/7016
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'deps/v8/src/gdb-jit.cc')
-rw-r--r-- | deps/v8/src/gdb-jit.cc | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/deps/v8/src/gdb-jit.cc b/deps/v8/src/gdb-jit.cc index 819bd69e07..0df5975b54 100644 --- a/deps/v8/src/gdb-jit.cc +++ b/deps/v8/src/gdb-jit.cc @@ -656,6 +656,12 @@ class ELF BASE_EMBEDDED { #elif V8_TARGET_ARCH_PPC64 && V8_TARGET_BIG_ENDIAN && V8_OS_LINUX const uint8_t ident[16] = {0x7f, 'E', 'L', 'F', 2, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0}; +#elif V8_TARGET_ARCH_S390X + const uint8_t ident[16] = {0x7f, 'E', 'L', 'F', 2, 2, 1, 3, + 0, 0, 0, 0, 0, 0, 0, 0}; +#elif V8_TARGET_ARCH_S390 + const uint8_t ident[16] = {0x7f, 'E', 'L', 'F', 1, 2, 1, 3, + 0, 0, 0, 0, 0, 0, 0, 0}; #else #error Unsupported target architecture. #endif @@ -680,6 +686,11 @@ class ELF BASE_EMBEDDED { // id=B81AEC1A37F5DAF185257C3E004E8845&linkid=1n0000&c_t= // c9xw7v5dzsj7gt1ifgf4cjbcnskqptmr header->machine = 21; +#elif V8_TARGET_ARCH_S390 + // Processor identification value is 22 (EM_S390) as defined in the ABI: + // http://refspecs.linuxbase.org/ELF/zSeries/lzsabi0_s390.html#AEN1691 + // http://refspecs.linuxbase.org/ELF/zSeries/lzsabi0_zSeries.html#AEN1599 + header->machine = 22; #else #error Unsupported target architecture. #endif @@ -772,7 +783,8 @@ class ELFSymbol BASE_EMBEDDED { return static_cast<Binding>(info >> 4); } #if (V8_TARGET_ARCH_IA32 || V8_TARGET_ARCH_ARM || V8_TARGET_ARCH_X87 || \ - (V8_TARGET_ARCH_X64 && V8_TARGET_ARCH_32_BIT)) + (V8_TARGET_ARCH_X64 && V8_TARGET_ARCH_32_BIT) || \ + (V8_TARGET_ARCH_S390 && V8_TARGET_ARCH_32_BIT)) struct SerializedLayout { SerializedLayout(uint32_t name, uintptr_t value, @@ -796,7 +808,7 @@ class ELFSymbol BASE_EMBEDDED { uint16_t section; }; #elif(V8_TARGET_ARCH_X64 && V8_TARGET_ARCH_64_BIT) || \ - (V8_TARGET_ARCH_PPC64 && V8_OS_LINUX) + (V8_TARGET_ARCH_PPC64 && V8_OS_LINUX) || V8_TARGET_ARCH_S390X struct SerializedLayout { SerializedLayout(uint32_t name, uintptr_t value, @@ -1145,6 +1157,8 @@ class DebugInfoSection : public DebugSection { UNIMPLEMENTED(); #elif V8_TARGET_ARCH_PPC64 && V8_OS_LINUX w->Write<uint8_t>(DW_OP_reg31); // The frame pointer is here on PPC64. +#elif V8_TARGET_ARCH_S390 + w->Write<uint8_t>(DW_OP_reg11); // The frame pointer's here on S390. #else #error Unsupported target architecture. #endif @@ -1927,7 +1941,7 @@ static void UnregisterCodeEntry(JITCodeEntry* entry) { static JITCodeEntry* CreateELFObject(CodeDescription* desc, Isolate* isolate) { #ifdef __MACH_O - Zone zone; + Zone zone(isolate->allocator()); MachO mach_o(&zone); Writer w(&mach_o); @@ -1939,7 +1953,7 @@ static JITCodeEntry* CreateELFObject(CodeDescription* desc, Isolate* isolate) { mach_o.Write(&w, desc->CodeStart(), desc->CodeSize()); #else - Zone zone; + Zone zone(isolate->allocator()); ELF elf(&zone); Writer w(&elf); |