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

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

Issue 1299563003: Remove grab-bag includes of v8.h from architecture ports. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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/ppc/codegen-ppc.cc ('k') | src/ppc/constants-ppc.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 #ifndef V8_PPC_CONSTANTS_PPC_H_ 5 #ifndef V8_PPC_CONSTANTS_PPC_H_
6 #define V8_PPC_CONSTANTS_PPC_H_ 6 #define V8_PPC_CONSTANTS_PPC_H_
7 7
8 #include <stdint.h>
9
10 #include "src/base/logging.h"
11 #include "src/base/macros.h"
12 #include "src/globals.h"
13
8 namespace v8 { 14 namespace v8 {
9 namespace internal { 15 namespace internal {
10 16
11 // Number of registers 17 // Number of registers
12 const int kNumRegisters = 32; 18 const int kNumRegisters = 32;
13 19
14 // FP support. 20 // FP support.
15 const int kNumFPDoubleRegisters = 32; 21 const int kNumFPDoubleRegisters = 32;
16 const int kNumFPRegisters = kNumFPDoubleRegisters; 22 const int kNumFPRegisters = kNumFPDoubleRegisters;
17 23
(...skipping 565 matching lines...) Expand 10 before | Expand all | Expand 10 after
583 // Lookup the register number for the name provided. 589 // Lookup the register number for the name provided.
584 static int Number(const char* name); 590 static int Number(const char* name);
585 591
586 private: 592 private:
587 static const char* names_[kNumFPRegisters]; 593 static const char* names_[kNumFPRegisters];
588 }; 594 };
589 } 595 }
590 } // namespace v8::internal 596 } // namespace v8::internal
591 597
592 #endif // V8_PPC_CONSTANTS_PPC_H_ 598 #endif // V8_PPC_CONSTANTS_PPC_H_
OLDNEW
« no previous file with comments | « src/ppc/codegen-ppc.cc ('k') | src/ppc/constants-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698