Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(262)

Side by Side Diff: src/ic/mips/ic-compiler-mips.cc

Issue 504743002: MIPS: Remove KeyedStoreIC::GenerateRuntimeSetProperty and move Store::GenerateRuntimeSetProperty to… (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/ic/mips/ic-mips.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_MIPS 7 #if V8_TARGET_ARCH_MIPS
8 8
9 #include "src/ic/ic-compiler.h" 9 #include "src/ic/ic-compiler.h"
10 10
(...skipping 945 matching lines...) Expand 10 before | Expand all | Expand 10 after
956 956
957 TailCallBuiltin(masm, Builtins::kKeyedLoadIC_Slow); 957 TailCallBuiltin(masm, Builtins::kKeyedLoadIC_Slow);
958 958
959 // Miss case, call the runtime. 959 // Miss case, call the runtime.
960 __ bind(&miss); 960 __ bind(&miss);
961 961
962 TailCallBuiltin(masm, Builtins::kKeyedLoadIC_Miss); 962 TailCallBuiltin(masm, Builtins::kKeyedLoadIC_Miss);
963 } 963 }
964 964
965 965
966 void PropertyICCompiler::GenerateRuntimeSetProperty(MacroAssembler* masm,
967 StrictMode strict_mode) {
968 __ Push(StoreIC::ReceiverRegister(), StoreIC::NameRegister(),
969 StoreIC::ValueRegister());
970
971 __ li(a0, Operand(Smi::FromInt(strict_mode)));
972 __ Push(a0);
973
974 // Do tail-call to runtime routine.
975 __ TailCallRuntime(Runtime::kSetProperty, 4, 1);
976 }
977
978
966 #undef __ 979 #undef __
967 } 980 }
968 } // namespace v8::internal 981 } // namespace v8::internal
969 982
970 #endif // V8_TARGET_ARCH_MIPS 983 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « no previous file | src/ic/mips/ic-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698