Index: src/stub-cache.cc |
diff --git a/src/stub-cache.cc b/src/stub-cache.cc |
index 839b0b0e8dc5a22c9473695dd02af6b90ece0f7d..14bcc07039f607ca5e516abc04ac77b82e944a45 100644 |
--- a/src/stub-cache.cc |
+++ b/src/stub-cache.cc |
@@ -1099,12 +1099,9 @@ void PropertyAccessCompiler::TailCallBuiltin(MacroAssembler* masm, |
Register* PropertyAccessCompiler::GetCallingConvention(Code::Kind kind) { |
if (kind == Code::LOAD_IC || kind == Code::KEYED_LOAD_IC) { |
return load_calling_convention(); |
- } else if (kind == Code::STORE_IC) { |
- return store_calling_convention(); |
- } else { |
- ASSERT_EQ(Code::KEYED_STORE_IC, kind); |
- return keyed_store_calling_convention(); |
} |
+ ASSERT(kind == Code::STORE_IC || kind == Code::KEYED_STORE_IC); |
+ return store_calling_convention(); |
} |