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

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

Issue 526223002: Use Chrome compatible naming for compiler specifics. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: mips Created 6 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « src/compiler/js-generic-lowering.cc ('k') | src/compiler/machine-operator-reducer.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/code-stubs.h" 9 #include "src/code-stubs.h"
10 #include "src/compiler/frame.h" 10 #include "src/compiler/frame.h"
(...skipping 18 matching lines...) Expand all
29 static const int16_t ANY_REGISTER = 32767; 29 static const int16_t ANY_REGISTER = 32767;
30 30
31 private: 31 private:
32 friend class CallDescriptor; 32 friend class CallDescriptor;
33 friend class OperandGenerator; 33 friend class OperandGenerator;
34 MachineType rep_; 34 MachineType rep_;
35 int16_t location_; // >= 0 implies register, otherwise stack slot. 35 int16_t location_; // >= 0 implies register, otherwise stack slot.
36 }; 36 };
37 37
38 38
39 class CallDescriptor V8_FINAL : public ZoneObject { 39 class CallDescriptor FINAL : public ZoneObject {
40 public: 40 public:
41 // Describes whether the first parameter is a code object, a JSFunction, 41 // Describes whether the first parameter is a code object, a JSFunction,
42 // or an address--all of which require different machine sequences to call. 42 // or an address--all of which require different machine sequences to call.
43 enum Kind { kCallCodeObject, kCallJSFunction, kCallAddress }; 43 enum Kind { kCallCodeObject, kCallJSFunction, kCallAddress };
44 44
45 enum Flag { 45 enum Flag {
46 // TODO(jarin) kLazyDeoptimization and kNeedsFrameState should be unified. 46 // TODO(jarin) kLazyDeoptimization and kNeedsFrameState should be unified.
47 kNoFlags = 0u, 47 kNoFlags = 0u,
48 kNeedsFrameState = 1u << 0, 48 kNeedsFrameState = 1u << 0,
49 kPatchableCallSite = 1u << 1, 49 kPatchableCallSite = 1u << 1,
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 private: 194 private:
195 CompilationInfo* info_; 195 CompilationInfo* info_;
196 CallDescriptor* incoming_; 196 CallDescriptor* incoming_;
197 }; 197 };
198 198
199 } // namespace compiler 199 } // namespace compiler
200 } // namespace internal 200 } // namespace internal
201 } // namespace v8 201 } // namespace v8
202 202
203 #endif // V8_COMPILER_LINKAGE_H_ 203 #endif // V8_COMPILER_LINKAGE_H_
OLDNEW
« no previous file with comments | « src/compiler/js-generic-lowering.cc ('k') | src/compiler/machine-operator-reducer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698