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

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

Issue 471523002: Remove a brittle assertion from Turbofan lazy deoptimization handling. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Remove redundant method 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
« no previous file with comments | « src/compiler/arm64/code-generator-arm64.cc ('k') | 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 81
82 // =========================================================================== 82 // ===========================================================================
83 // Deoptimization table construction 83 // Deoptimization table construction
84 void RecordLazyDeoptimizationEntry(Instruction* instr); 84 void RecordLazyDeoptimizationEntry(Instruction* instr);
85 void PopulateDeoptimizationData(Handle<Code> code); 85 void PopulateDeoptimizationData(Handle<Code> code);
86 int DefineDeoptimizationLiteral(Handle<Object> literal); 86 int DefineDeoptimizationLiteral(Handle<Object> literal);
87 void BuildTranslation(Instruction* instr, int deoptimization_id); 87 void BuildTranslation(Instruction* instr, int deoptimization_id);
88 void AddTranslationForOperand(Translation* translation, Instruction* instr, 88 void AddTranslationForOperand(Translation* translation, Instruction* instr,
89 InstructionOperand* op); 89 InstructionOperand* op);
90 void AddNopForSmiCodeInlining(); 90 void AddNopForSmiCodeInlining();
91 #if DEBUG
92 static bool IsNopForSmiCodeInlining(Handle<Code> code, int start_pc,
93 int end_pc);
94 #endif // DEBUG
95 // =========================================================================== 91 // ===========================================================================
96 92
97 class LazyDeoptimizationEntry V8_FINAL { 93 class LazyDeoptimizationEntry V8_FINAL {
98 public: 94 public:
99 LazyDeoptimizationEntry(int position_after_call, Label* continuation, 95 LazyDeoptimizationEntry(int position_after_call, Label* continuation,
100 Label* deoptimization) 96 Label* deoptimization)
101 : position_after_call_(position_after_call), 97 : position_after_call_(position_after_call),
102 continuation_(continuation), 98 continuation_(continuation),
103 deoptimization_(deoptimization) {} 99 deoptimization_(deoptimization) {}
104 100
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 DeoptimizationStates deoptimization_states_; 133 DeoptimizationStates deoptimization_states_;
138 Literals deoptimization_literals_; 134 Literals deoptimization_literals_;
139 TranslationBuffer translations_; 135 TranslationBuffer translations_;
140 }; 136 };
141 137
142 } // namespace compiler 138 } // namespace compiler
143 } // namespace internal 139 } // namespace internal
144 } // namespace v8 140 } // namespace v8
145 141
146 #endif // V8_COMPILER_CODE_GENERATOR_H 142 #endif // V8_COMPILER_CODE_GENERATOR_H
OLDNEW
« no previous file with comments | « src/compiler/arm64/code-generator-arm64.cc ('k') | src/compiler/code-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698