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

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

Issue 614713002: Relax representation requirement in FrameStates. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebase Created 6 years, 2 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 | « no previous file | src/compiler/code-generator.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_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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 FrameStateDescriptor* GetFrameStateDescriptor(Instruction* instr, 89 FrameStateDescriptor* GetFrameStateDescriptor(Instruction* instr,
90 size_t frame_state_offset); 90 size_t frame_state_offset);
91 int BuildTranslation(Instruction* instr, int pc_offset, 91 int BuildTranslation(Instruction* instr, int pc_offset,
92 size_t frame_state_offset, 92 size_t frame_state_offset,
93 OutputFrameStateCombine state_combine); 93 OutputFrameStateCombine state_combine);
94 void BuildTranslationForFrameStateDescriptor( 94 void BuildTranslationForFrameStateDescriptor(
95 FrameStateDescriptor* descriptor, Instruction* instr, 95 FrameStateDescriptor* descriptor, Instruction* instr,
96 Translation* translation, size_t frame_state_offset, 96 Translation* translation, size_t frame_state_offset,
97 OutputFrameStateCombine state_combine); 97 OutputFrameStateCombine state_combine);
98 void AddTranslationForOperand(Translation* translation, Instruction* instr, 98 void AddTranslationForOperand(Translation* translation, Instruction* instr,
99 InstructionOperand* op); 99 InstructionOperand* op, MachineType type);
100 void AddNopForSmiCodeInlining(); 100 void AddNopForSmiCodeInlining();
101 void EnsureSpaceForLazyDeopt(); 101 void EnsureSpaceForLazyDeopt();
102 void MarkLazyDeoptSite(); 102 void MarkLazyDeoptSite();
103 103
104 // =========================================================================== 104 // ===========================================================================
105 struct DeoptimizationState : ZoneObject { 105 struct DeoptimizationState : ZoneObject {
106 public: 106 public:
107 BailoutId bailout_id() const { return bailout_id_; } 107 BailoutId bailout_id() const { return bailout_id_; }
108 int translation_id() const { return translation_id_; } 108 int translation_id() const { return translation_id_; }
109 int pc_offset() const { return pc_offset_; } 109 int pc_offset() const { return pc_offset_; }
(...skipping 19 matching lines...) Expand all
129 ZoneDeque<Handle<Object> > deoptimization_literals_; 129 ZoneDeque<Handle<Object> > deoptimization_literals_;
130 TranslationBuffer translations_; 130 TranslationBuffer translations_;
131 int last_lazy_deopt_pc_; 131 int last_lazy_deopt_pc_;
132 }; 132 };
133 133
134 } // namespace compiler 134 } // namespace compiler
135 } // namespace internal 135 } // namespace internal
136 } // namespace v8 136 } // namespace v8
137 137
138 #endif // V8_COMPILER_CODE_GENERATOR_H 138 #endif // V8_COMPILER_CODE_GENERATOR_H
OLDNEW
« no previous file with comments | « no previous file | src/compiler/code-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698