From fd5f3a660924659b6ffdef630f251978a0ccf99c Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 16 2015 13:43:37 +0000 Subject: import v8314-v8-3.14.5.10-9.el7 --- diff --git a/SOURCES/v8-jit-code-event.patch b/SOURCES/v8-jit-code-event.patch new file mode 100644 index 0000000..0fde8cf --- /dev/null +++ b/SOURCES/v8-jit-code-event.patch @@ -0,0 +1,37 @@ +From 5a60e0d904c38c2bdb04785203b1b784967c870d Mon Sep 17 00:00:00 2001 +From: Ben Noordhuis +Date: Mon, 29 Jun 2015 14:36:36 +0200 +Subject: [PATCH] v8: back-port JitCodeEvent patch from upstream + +Original commit log follows: + + Meaningful name for builtins in JitCodeEvent API. + + Report builtins by name (e.g. "Builtin:ArgumentsAdaptorTrampoline") + instead of labeling everything "Builtin:A builtin from the snapshot" + + Review URL: https://codereview.chromium.org/1216833002 + +Reviewed-By: Colin Ihrig +PR-URL: https://github.com/joyent/node/pull/25588 +--- + src/log.cc | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +diff --git a/src/log.cc b/src/log.cc +index b049ffe..3ecc204 100644 +--- a/src/log.cc ++++ b/src/log.cc +@@ -1485,7 +1485,11 @@ void Logger::LogCodeObject(Object* object) { + tag = Logger::STUB_TAG; + break; + case Code::BUILTIN: +- description = "A builtin from the snapshot"; ++ description = ++ Isolate::Current()->builtins()->Lookup(code_object->entry()); ++ if (description == NULL) { ++ description = "A builtin from the snapshot"; ++ } + tag = Logger::BUILTIN_TAG; + break; + case Code::KEYED_LOAD_IC: diff --git a/SPECS/v8.spec b/SPECS/v8.spec index a8c18ce..487a270 100644 --- a/SPECS/v8.spec +++ b/SPECS/v8.spec @@ -35,7 +35,7 @@ Name: %{?scl_prefix}v8 Version: %{somajor}.%{sominor}.%{sobuild}.%{sotiny} -Release: 8%{?dist} +Release: 9%{?dist} Epoch: 1 Summary: JavaScript Engine Group: System Environment/Libraries @@ -100,6 +100,7 @@ Patch15: v8-3.14.5.10-use-upstream-test-values-regress-test-1122.patch #This is nodejs specific patch it has not been pushed upstream by joyent Patch16: v8-add-api-for-aborting-on-uncaught-exception.patch Patch17: v8-Apply-REPLACE_INVALID_UTF8-patch.patch +Patch18: v8-jit-code-event.patch Obsoletes: nodejs010-v8, ruby193-v8, mongodb24-v8 @@ -138,6 +139,7 @@ Development headers and libraries for v8. %patch15 -p1 %patch16 -p1 %patch17 -p1 +%patch18 -p1 %build mkdir -p build/gyp @@ -232,6 +234,10 @@ rm -rf %{buildroot} %{?_scl_root}%{python_sitelib}/j*.py* %changelog +* Tue Jul 21 2015 Tomas Hrcka - 1:3.14.5.10-9 +- Include upstream patch: Meaningful name for builtins in JitCodeEvent API +- https://github.com/joyent/node/commit/5a60e0d904c38c2bdb04785203b1b784967c870d + * Wed Jan 07 2015 Tomas Hrcka - 1:3.14.5.10-8 - Backport Apply REPLACE_INVALID_UTF8 patch - https://github.com/joyent/node/commit/881ac26f27f4ac9585d66c8d8a67d5b246a23d1b