Index: src/frames.cc |
diff --git a/src/frames.cc b/src/frames.cc |
index 0571a813f5e56b45922ac6ee3a76dc78940749ad..a6f1fd64c7ccc5e77ea135bed84b2d878696d434 100644 |
--- a/src/frames.cc |
+++ b/src/frames.cc |
@@ -31,7 +31,6 @@ |
#include "deoptimizer.h" |
#include "frames-inl.h" |
#include "full-codegen.h" |
-#include "lazy-instance.h" |
#include "mark-compact.h" |
#include "safepoint-table.h" |
#include "scopeinfo.h" |
@@ -1381,12 +1380,12 @@ struct JSCallerSavedCodeData { |
}; |
-static LazyInstance<JSCallerSavedCodeData>::type caller_saved_code_data = |
- LAZY_INSTANCE_INITIALIZER; |
+static const JSCallerSavedCodeData kCallerSavedCodeData; |
+ |
int JSCallerSavedCode(int n) { |
ASSERT(0 <= n && n < kNumJSCallerSaved); |
- return caller_saved_code_data.Get().reg_code[n]; |
+ return kCallerSavedCodeData.reg_code[n]; |
} |