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

Side by Side Diff: src/compiler/code-generator.h

Issue 492203002: Initial support for debugger frame state in Turbofan. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Another attempt to fix Win64 Created 6 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 | Annotate | Revision Log
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_CODE_GENERATOR_H_ 5 #ifndef V8_COMPILER_CODE_GENERATOR_H_
6 #define V8_COMPILER_CODE_GENERATOR_H_ 6 #define V8_COMPILER_CODE_GENERATOR_H_
7 7
8 #include <deque> 8 #include <deque>
9 9
10 #include "src/compiler/gap-resolver.h" 10 #include "src/compiler/gap-resolver.h"
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 // =========================================================================== 74 // ===========================================================================
75 75
76 // Interface used by the gap resolver to emit moves and swaps. 76 // Interface used by the gap resolver to emit moves and swaps.
77 virtual void AssembleMove(InstructionOperand* source, 77 virtual void AssembleMove(InstructionOperand* source,
78 InstructionOperand* destination) V8_OVERRIDE; 78 InstructionOperand* destination) V8_OVERRIDE;
79 virtual void AssembleSwap(InstructionOperand* source, 79 virtual void AssembleSwap(InstructionOperand* source,
80 InstructionOperand* destination) V8_OVERRIDE; 80 InstructionOperand* destination) V8_OVERRIDE;
81 81
82 // =========================================================================== 82 // ===========================================================================
83 // Deoptimization table construction 83 // Deoptimization table construction
84 void AddSafepointAndDeopt(Instruction* instr);
84 void RecordLazyDeoptimizationEntry(Instruction* instr); 85 void RecordLazyDeoptimizationEntry(Instruction* instr);
85 void PopulateDeoptimizationData(Handle<Code> code); 86 void PopulateDeoptimizationData(Handle<Code> code);
86 int DefineDeoptimizationLiteral(Handle<Object> literal); 87 int DefineDeoptimizationLiteral(Handle<Object> literal);
87 void BuildTranslation(Instruction* instr, int deoptimization_id); 88 void BuildTranslation(Instruction* instr, int first_argument_index,
89 int deoptimization_id);
88 void AddTranslationForOperand(Translation* translation, Instruction* instr, 90 void AddTranslationForOperand(Translation* translation, Instruction* instr,
89 InstructionOperand* op); 91 InstructionOperand* op);
90 void AddNopForSmiCodeInlining(); 92 void AddNopForSmiCodeInlining();
91 // =========================================================================== 93 // ===========================================================================
92 94
93 class LazyDeoptimizationEntry V8_FINAL { 95 class LazyDeoptimizationEntry V8_FINAL {
94 public: 96 public:
95 LazyDeoptimizationEntry(int position_after_call, Label* continuation, 97 LazyDeoptimizationEntry(int position_after_call, Label* continuation,
96 Label* deoptimization) 98 Label* deoptimization)
97 : position_after_call_(position_after_call), 99 : position_after_call_(position_after_call),
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 DeoptimizationStates deoptimization_states_; 135 DeoptimizationStates deoptimization_states_;
134 Literals deoptimization_literals_; 136 Literals deoptimization_literals_;
135 TranslationBuffer translations_; 137 TranslationBuffer translations_;
136 }; 138 };
137 139
138 } // namespace compiler 140 } // namespace compiler
139 } // namespace internal 141 } // namespace internal
140 } // namespace v8 142 } // namespace v8
141 143
142 #endif // V8_COMPILER_CODE_GENERATOR_H 144 #endif // V8_COMPILER_CODE_GENERATOR_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698