Version 3.22.9
Ensure only whitelisted stubs have sse2 versions in the snapshot. (fix for chromium 304565)
Implement ArrayBuffer.isView.
Performance and stability improvements on all platforms.
git-svn-id: http://v8.googlecode.com/svn/trunk@17127 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
diff --git a/src/assembler.cc b/src/assembler.cc
index 6581aa1..cd2bedd 100644
--- a/src/assembler.cc
+++ b/src/assembler.cc
@@ -210,19 +210,14 @@
// Implementation of PlatformFeatureScope
PlatformFeatureScope::PlatformFeatureScope(CpuFeature f)
- : old_supported_(CpuFeatures::supported_),
- old_found_by_runtime_probing_only_(
- CpuFeatures::found_by_runtime_probing_only_) {
+ : old_cross_compile_(CpuFeatures::cross_compile_) {
uint64_t mask = static_cast<uint64_t>(1) << f;
- CpuFeatures::supported_ |= mask;
- CpuFeatures::found_by_runtime_probing_only_ &= ~mask;
+ CpuFeatures::cross_compile_ |= mask;
}
PlatformFeatureScope::~PlatformFeatureScope() {
- CpuFeatures::supported_ = old_supported_;
- CpuFeatures::found_by_runtime_probing_only_ =
- old_found_by_runtime_probing_only_;
+ CpuFeatures::cross_compile_ = old_cross_compile_;
}