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

Side by Side Diff: src/compiler/linkage.h

Issue 1088993003: Replace OVERRIDE->override and FINAL->final since we now require C++11. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 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/compiler/js-typed-lowering.cc ('k') | src/compiler/load-elimination.h » ('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_COMPILER_LINKAGE_H_ 5 #ifndef V8_COMPILER_LINKAGE_H_
6 #define V8_COMPILER_LINKAGE_H_ 6 #define V8_COMPILER_LINKAGE_H_
7 7
8 #include "src/base/flags.h" 8 #include "src/base/flags.h"
9 #include "src/compiler/frame.h" 9 #include "src/compiler/frame.h"
10 #include "src/compiler/machine-type.h" 10 #include "src/compiler/machine-type.h"
(...skipping 28 matching lines...) Expand all
39 // 0 <= location < 1023 -> a specific machine register 39 // 0 <= location < 1023 -> a specific machine register
40 // 1023 <= location < 1024 -> any machine register 40 // 1023 <= location < 1024 -> any machine register
41 // 1024 <= location -> a stack slot in the callee frame 41 // 1024 <= location -> a stack slot in the callee frame
42 int16_t location_; 42 int16_t location_;
43 }; 43 };
44 44
45 typedef Signature<LinkageLocation> LocationSignature; 45 typedef Signature<LinkageLocation> LocationSignature;
46 46
47 // Describes a call to various parts of the compiler. Every call has the notion 47 // Describes a call to various parts of the compiler. Every call has the notion
48 // of a "target", which is the first input to the call. 48 // of a "target", which is the first input to the call.
49 class CallDescriptor FINAL : public ZoneObject { 49 class CallDescriptor final : public ZoneObject {
50 public: 50 public:
51 // Describes the kind of this call, which determines the target. 51 // Describes the kind of this call, which determines the target.
52 enum Kind { 52 enum Kind {
53 kCallCodeObject, // target is a Code object 53 kCallCodeObject, // target is a Code object
54 kCallJSFunction, // target is a JSFunction object 54 kCallJSFunction, // target is a JSFunction object
55 kCallAddress // target is a machine pointer 55 kCallAddress // target is a machine pointer
56 }; 56 };
57 57
58 enum Flag { 58 enum Flag {
59 kNoFlags = 0u, 59 kNoFlags = 0u,
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 CallDescriptor* const incoming_; 238 CallDescriptor* const incoming_;
239 239
240 DISALLOW_COPY_AND_ASSIGN(Linkage); 240 DISALLOW_COPY_AND_ASSIGN(Linkage);
241 }; 241 };
242 242
243 } // namespace compiler 243 } // namespace compiler
244 } // namespace internal 244 } // namespace internal
245 } // namespace v8 245 } // namespace v8
246 246
247 #endif // V8_COMPILER_LINKAGE_H_ 247 #endif // V8_COMPILER_LINKAGE_H_
OLDNEW
« no previous file with comments | « src/compiler/js-typed-lowering.cc ('k') | src/compiler/load-elimination.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698