Index: src/code-stubs-hydrogen.cc |
diff --git a/src/code-stubs-hydrogen.cc b/src/code-stubs-hydrogen.cc |
index 775916adc52b7c28250c2c2eae085b134d6dc3a3..027517a835ce9b40b71a2b84362b19bcfa2669c9 100644 |
--- a/src/code-stubs-hydrogen.cc |
+++ b/src/code-stubs-hydrogen.cc |
@@ -251,8 +251,7 @@ Handle<Code> HydrogenCodeStub::GenerateLightweightMissCode() { |
template <class Stub> |
static Handle<Code> DoGenerateCode(Stub* stub) { |
Isolate* isolate = stub->isolate(); |
- CodeStub::Major major_key = |
- static_cast<HydrogenCodeStub*>(stub)->MajorKey(); |
+ CodeStub::Major major_key = static_cast<CodeStub*>(stub)->MajorKey(); |
CodeStubInterfaceDescriptor* descriptor = |
isolate->code_stub_interface_descriptor(major_key); |
if (!descriptor->IsInitialized()) { |