summaryrefslogtreecommitdiff
path: root/deps/v8/src/perf-jit.h
diff options
context:
space:
mode:
authorMichaël Zasso <targos@protonmail.com>2017-06-06 10:28:14 +0200
committerMichaël Zasso <targos@protonmail.com>2017-06-07 10:33:31 +0200
commit3dc8c3bed4cf3a77607edbb0b015e33f8b60fc09 (patch)
tree9dee56e142638b34f1eccbd0ad88c3bce5377c29 /deps/v8/src/perf-jit.h
parent91a1bbe3055a660194ca4d403795aa0c03e9d056 (diff)
downloadandroid-node-v8-3dc8c3bed4cf3a77607edbb0b015e33f8b60fc09.tar.gz
android-node-v8-3dc8c3bed4cf3a77607edbb0b015e33f8b60fc09.tar.bz2
android-node-v8-3dc8c3bed4cf3a77607edbb0b015e33f8b60fc09.zip
deps: update V8 to 5.9.211.32
PR-URL: https://github.com/nodejs/node/pull/13263 Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com>
Diffstat (limited to 'deps/v8/src/perf-jit.h')
-rw-r--r--deps/v8/src/perf-jit.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/deps/v8/src/perf-jit.h b/deps/v8/src/perf-jit.h
index 6efa4bbd6b..2b0b4831e0 100644
--- a/deps/v8/src/perf-jit.h
+++ b/deps/v8/src/perf-jit.h
@@ -91,6 +91,14 @@ class PerfJitLogger : public CodeEventLogger {
#endif
}
+#if V8_TARGET_ARCH_32_BIT
+ static const int kElfHeaderSize = 0x34;
+#elif V8_TARGET_ARCH_64_BIT
+ static const int kElfHeaderSize = 0x40;
+#else
+#error Unknown target architecture pointer size
+#endif
+
// Per-process singleton file. We assume that there is one main isolate;
// to determine when it goes away, we keep reference count.
static base::LazyRecursiveMutex file_mutex_;