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

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

Issue 1293793002: Remove grab-bag includes of v8.h from IC subsystem. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix compilation on ARM and MIPS64. Created 5 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
« no previous file with comments | « src/ic/x87/stub-cache-x87.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 #include "src/base/logging.h"
9 #include "src/base/macros.h"
10 #include "src/globals.h"
11
8 // UNIMPLEMENTED_ macro for MIPS. 12 // UNIMPLEMENTED_ macro for MIPS.
9 #ifdef DEBUG 13 #ifdef DEBUG
10 #define UNIMPLEMENTED_MIPS() \ 14 #define UNIMPLEMENTED_MIPS() \
11 v8::internal::PrintF("%s, \tline %d: \tfunction %s not implemented. \n", \ 15 v8::internal::PrintF("%s, \tline %d: \tfunction %s not implemented. \n", \
12 __FILE__, __LINE__, __func__) 16 __FILE__, __LINE__, __func__)
13 #else 17 #else
14 #define UNIMPLEMENTED_MIPS() 18 #define UNIMPLEMENTED_MIPS()
15 #endif 19 #endif
16 20
17 #define UNSUPPORTED_MIPS() v8::internal::PrintF("Unsupported instruction.\n") 21 #define UNSUPPORTED_MIPS() v8::internal::PrintF("Unsupported instruction.\n")
(...skipping 1052 matching lines...) Expand 10 before | Expand all | Expand 10 after
1070 // TODO(plind): below should be based on kPointerSize 1074 // TODO(plind): below should be based on kPointerSize
1071 // TODO(plind): find all usages and remove the needless instructions for n64. 1075 // TODO(plind): find all usages and remove the needless instructions for n64.
1072 const int kCArgsSlotsSize = kCArgSlotCount * Instruction::kInstrSize * 2; 1076 const int kCArgsSlotsSize = kCArgSlotCount * Instruction::kInstrSize * 2;
1073 1077
1074 const int kInvalidStackOffset = -1; 1078 const int kInvalidStackOffset = -1;
1075 const int kBranchReturnOffset = 2 * Instruction::kInstrSize; 1079 const int kBranchReturnOffset = 2 * Instruction::kInstrSize;
1076 1080
1077 } } // namespace v8::internal 1081 } } // namespace v8::internal
1078 1082
1079 #endif // #ifndef V8_MIPS_CONSTANTS_H_ 1083 #endif // #ifndef V8_MIPS_CONSTANTS_H_
OLDNEW
« no previous file with comments | « src/ic/x87/stub-cache-x87.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698