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

Side by Side Diff: src/mips64/constants-mips64.h

Issue 867183003: MIPS: Refactoring after 'MIPS: split api call stubs into accessor and function call stubs'. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix typo Created 5 years, 10 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
« no previous file with comments | « src/mips64/code-stubs-mips64.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 #ifndef V8_MIPS_CONSTANTS_H_ 5 #ifndef V8_MIPS_CONSTANTS_H_
6 #define V8_MIPS_CONSTANTS_H_ 6 #define V8_MIPS_CONSTANTS_H_
7 7
8 // UNIMPLEMENTED_ macro for MIPS. 8 // UNIMPLEMENTED_ macro for MIPS.
9 #ifdef DEBUG 9 #ifdef DEBUG
10 #define UNIMPLEMENTED_MIPS() \ 10 #define UNIMPLEMENTED_MIPS() \
(...skipping 924 matching lines...) Expand 10 before | Expand all | Expand 10 after
935 // ----------------------------------------------------------------------------- 935 // -----------------------------------------------------------------------------
936 // MIPS assembly various constants. 936 // MIPS assembly various constants.
937 937
938 // C/C++ argument slots size. 938 // C/C++ argument slots size.
939 const int kCArgSlotCount = (kMipsAbi == kN64) ? 0 : 4; 939 const int kCArgSlotCount = (kMipsAbi == kN64) ? 0 : 4;
940 940
941 // TODO(plind): below should be based on kPointerSize 941 // TODO(plind): below should be based on kPointerSize
942 // TODO(plind): find all usages and remove the needless instructions for n64. 942 // TODO(plind): find all usages and remove the needless instructions for n64.
943 const int kCArgsSlotsSize = kCArgSlotCount * Instruction::kInstrSize * 2; 943 const int kCArgsSlotsSize = kCArgSlotCount * Instruction::kInstrSize * 2;
944 944
945 const int kInvalidStackOffset = -1;
945 const int kBranchReturnOffset = 2 * Instruction::kInstrSize; 946 const int kBranchReturnOffset = 2 * Instruction::kInstrSize;
946 947
947 } } // namespace v8::internal 948 } } // namespace v8::internal
948 949
949 #endif // #ifndef V8_MIPS_CONSTANTS_H_ 950 #endif // #ifndef V8_MIPS_CONSTANTS_H_
OLDNEW
« no previous file with comments | « src/mips64/code-stubs-mips64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698