Index: src/compiler/mips/linkage-mips.cc |
diff --git a/src/compiler/mips/linkage-mips.cc b/src/compiler/mips/linkage-mips.cc |
deleted file mode 100644 |
index 67316a85b825fb79f5a089b4a1415179c54e345e..0000000000000000000000000000000000000000 |
--- a/src/compiler/mips/linkage-mips.cc |
+++ /dev/null |
@@ -1,67 +0,0 @@ |
-// Copyright 2014 the V8 project authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#include "src/assembler.h" |
-#include "src/code-stubs.h" |
-#include "src/compiler/linkage.h" |
-#include "src/compiler/linkage-impl.h" |
-#include "src/zone.h" |
- |
-namespace v8 { |
-namespace internal { |
-namespace compiler { |
- |
-struct MipsLinkageHelperTraits { |
- static Register ReturnValueReg() { return v0; } |
- static Register ReturnValue2Reg() { return v1; } |
- static Register JSCallFunctionReg() { return a1; } |
- static Register ContextReg() { return cp; } |
- static Register InterpreterBytecodeOffsetReg() { |
- return kInterpreterBytecodeOffsetRegister; |
- } |
- static Register InterpreterBytecodeArrayReg() { |
- return kInterpreterBytecodeArrayRegister; |
- } |
- static Register InterpreterDispatchTableReg() { |
- return kInterpreterDispatchTableRegister; |
- } |
- static Register RuntimeCallFunctionReg() { return a1; } |
- static Register RuntimeCallArgCountReg() { return a0; } |
-}; |
- |
- |
-typedef LinkageHelper<MipsLinkageHelperTraits> LH; |
- |
-CallDescriptor* Linkage::GetJSCallDescriptor(Zone* zone, bool is_osr, |
- int parameter_count, |
- CallDescriptor::Flags flags) { |
- return LH::GetJSCallDescriptor(zone, is_osr, parameter_count, flags); |
-} |
- |
- |
-CallDescriptor* Linkage::GetRuntimeCallDescriptor( |
- Zone* zone, Runtime::FunctionId function, int parameter_count, |
- Operator::Properties properties) { |
- return LH::GetRuntimeCallDescriptor(zone, function, parameter_count, |
- properties); |
-} |
- |
- |
-CallDescriptor* Linkage::GetStubCallDescriptor( |
- Isolate* isolate, Zone* zone, const CallInterfaceDescriptor& descriptor, |
- int stack_parameter_count, CallDescriptor::Flags flags, |
- Operator::Properties properties, MachineType return_type) { |
- return LH::GetStubCallDescriptor(isolate, zone, descriptor, |
- stack_parameter_count, flags, properties, |
- return_type); |
-} |
- |
- |
-CallDescriptor* Linkage::GetInterpreterDispatchDescriptor(Zone* zone) { |
- return LH::GetInterpreterDispatchDescriptor(zone); |
-} |
- |
-} // namespace compiler |
-} // namespace internal |
-} // namespace v8 |