Index: src/assembler.cc |
diff --git a/src/assembler.cc b/src/assembler.cc |
index 6728ef4a0f4e78bed7b3b56e3ed7e0f2d286db2a..148823ce621fb04fcb0af639320ca3d8ecd075db 100644 |
--- a/src/assembler.cc |
+++ b/src/assembler.cc |
@@ -213,8 +213,8 @@ CpuFeatureScope::~CpuFeatureScope() { |
// ----------------------------------------------------------------------------- |
// Implementation of PlatformFeatureScope |
-PlatformFeatureScope::PlatformFeatureScope(CpuFeature f) |
- : old_cross_compile_(CpuFeatures::cross_compile_) { |
+PlatformFeatureScope::PlatformFeatureScope(Isolate* isolate, CpuFeature f) |
+ : isolate_(isolate), old_cross_compile_(CpuFeatures::cross_compile_) { |
// CpuFeatures is a global singleton, therefore this is only safe in |
// single threaded code. |
ASSERT(Serializer::enabled()); |