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

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

Issue 943503003: Emit exception handler table in TurboFan. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_trycatch-4
Patch Set: Fix Win64 compilation failure. 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/compiler/instruction-selector.cc ('k') | src/compiler/mips/code-generator-mips.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_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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 // TODO(jarin) kLazyDeoptimization and kNeedsFrameState should be unified.
60 kNoFlags = 0u, 59 kNoFlags = 0u,
61 kNeedsFrameState = 1u << 0, 60 kNeedsFrameState = 1u << 0,
62 kPatchableCallSite = 1u << 1, 61 kPatchableCallSite = 1u << 1,
63 kNeedsNopAfterCall = 1u << 2, 62 kNeedsNopAfterCall = 1u << 2,
63 kHasExceptionHandler = 1u << 3,
64 kPatchableCallSiteWithNop = kPatchableCallSite | kNeedsNopAfterCall 64 kPatchableCallSiteWithNop = kPatchableCallSite | kNeedsNopAfterCall
65 }; 65 };
66 typedef base::Flags<Flag> Flags; 66 typedef base::Flags<Flag> Flags;
67 67
68 CallDescriptor(Kind kind, MachineType target_type, LinkageLocation target_loc, 68 CallDescriptor(Kind kind, MachineType target_type, LinkageLocation target_loc,
69 const MachineSignature* machine_sig, 69 const MachineSignature* machine_sig,
70 LocationSignature* location_sig, size_t js_param_count, 70 LocationSignature* location_sig, size_t js_param_count,
71 Operator::Properties properties, 71 Operator::Properties properties,
72 RegList callee_saved_registers, Flags flags, 72 RegList callee_saved_registers, Flags flags,
73 const char* debug_name = "") 73 const char* debug_name = "")
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 CallDescriptor* const incoming_; 237 CallDescriptor* const incoming_;
238 238
239 DISALLOW_COPY_AND_ASSIGN(Linkage); 239 DISALLOW_COPY_AND_ASSIGN(Linkage);
240 }; 240 };
241 241
242 } // namespace compiler 242 } // namespace compiler
243 } // namespace internal 243 } // namespace internal
244 } // namespace v8 244 } // namespace v8
245 245
246 #endif // V8_COMPILER_LINKAGE_H_ 246 #endif // V8_COMPILER_LINKAGE_H_
OLDNEW
« no previous file with comments | « src/compiler/instruction-selector.cc ('k') | src/compiler/mips/code-generator-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698