a0dbfe2fb0
Submitted by: Matthias Wolf, cem, rene Obtained from: Some patches from OpenBSD port (robert@openbsd.org)
19 lines
417 B
C++
19 lines
417 B
C++
--- v8/src/base/cpu.cc.orig 2020-11-13 06:42:28 UTC
|
|
+++ v8/src/base/cpu.cc
|
|
@@ -534,6 +534,7 @@ CPU::CPU()
|
|
|
|
#if V8_OS_LINUX
|
|
|
|
+#if V8_OS_LINUX
|
|
CPUInfo cpu_info;
|
|
|
|
// Extract implementor from the "CPU implementer" field.
|
|
@@ -567,6 +568,7 @@ CPU::CPU()
|
|
}
|
|
delete[] part;
|
|
}
|
|
+#endif
|
|
|
|
// Extract architecture from the "CPU Architecture" field.
|
|
// The list is well-known, unlike the the output of
|