Index: src/ic/handler-compiler.cc |
diff --git a/src/ic/handler-compiler.cc b/src/ic/handler-compiler.cc |
index 2b6f88ac9532c039dce64e88732d6bb9411b87a4..b353628053c1246daebcd059e2beb3d6fbfa9cdc 100644 |
--- a/src/ic/handler-compiler.cc |
+++ b/src/ic/handler-compiler.cc |
@@ -427,7 +427,7 @@ Handle<Code> NamedStoreHandlerCompiler::CompileStoreTransition( |
Handle<Map> transition, Handle<Name> name) { |
Label miss; |
- if (FLAG_vector_stores) PushVectorAndSlot(); |
+ PushVectorAndSlot(); |
// Check that we are allowed to write this. |
bool is_nonexistent = holder()->map() == transition->GetBackPointer(); |
@@ -471,7 +471,7 @@ Handle<Code> NamedStoreHandlerCompiler::CompileStoreTransition( |
if (virtual_args) { |
// This will move the map from tmp into map_reg. |
RearrangeVectorAndSlot(tmp, map_reg); |
- } else if (FLAG_vector_stores) { |
+ } else { |
PopVectorAndSlot(); |
} |
GenerateRestoreName(name); |
@@ -493,7 +493,7 @@ Handle<Code> NamedStoreHandlerCompiler::CompileStoreTransition( |
GenerateRestoreMap(transition, tmp, scratch2(), &miss); |
if (virtual_args) { |
RearrangeVectorAndSlot(tmp, map_reg); |
- } else if (FLAG_vector_stores) { |
+ } else { |
PopVectorAndSlot(); |
} |
GenerateRestoreName(name); |
@@ -504,7 +504,7 @@ Handle<Code> NamedStoreHandlerCompiler::CompileStoreTransition( |
} |
GenerateRestoreName(&miss, name); |
- if (FLAG_vector_stores) PopVectorAndSlot(); |
+ PopVectorAndSlot(); |
TailCallBuiltin(masm(), MissBuiltin(kind())); |
return GetCode(kind(), Code::FAST, name); |