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

Side by Side Diff: src/ia32/lithium-codegen-ia32.h

Issue 874323003: Externalize deoptimization reasons. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: minor change 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/ia32/assembler-ia32.cc ('k') | src/ia32/lithium-codegen-ia32.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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_IA32_LITHIUM_CODEGEN_IA32_H_ 5 #ifndef V8_IA32_LITHIUM_CODEGEN_IA32_H_
6 #define V8_IA32_LITHIUM_CODEGEN_IA32_H_ 6 #define V8_IA32_LITHIUM_CODEGEN_IA32_H_
7 7
8 #include "src/ia32/lithium-ia32.h" 8 #include "src/ia32/lithium-ia32.h"
9 9
10 #include "src/base/logging.h" 10 #include "src/base/logging.h"
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 // to be in edi. 195 // to be in edi.
196 void CallKnownFunction(Handle<JSFunction> function, 196 void CallKnownFunction(Handle<JSFunction> function,
197 int formal_parameter_count, int arity, 197 int formal_parameter_count, int arity,
198 LInstruction* instr); 198 LInstruction* instr);
199 199
200 void RecordSafepointWithLazyDeopt(LInstruction* instr, 200 void RecordSafepointWithLazyDeopt(LInstruction* instr,
201 SafepointMode safepoint_mode); 201 SafepointMode safepoint_mode);
202 202
203 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, 203 void RegisterEnvironmentForDeoptimization(LEnvironment* environment,
204 Safepoint::DeoptMode mode); 204 Safepoint::DeoptMode mode);
205 void DeoptimizeIf(Condition cc, LInstruction* instr, const char* detail, 205 void DeoptimizeIf(Condition cc, LInstruction* instr,
206 Deoptimizer::DeoptReason deopt_reason,
206 Deoptimizer::BailoutType bailout_type); 207 Deoptimizer::BailoutType bailout_type);
207 void DeoptimizeIf(Condition cc, LInstruction* instr, const char* detail); 208 void DeoptimizeIf(Condition cc, LInstruction* instr,
209 Deoptimizer::DeoptReason deopt_reason);
208 210
209 bool DeoptEveryNTimes() { 211 bool DeoptEveryNTimes() {
210 return FLAG_deopt_every_n_times != 0 && !info()->IsStub(); 212 return FLAG_deopt_every_n_times != 0 && !info()->IsStub();
211 } 213 }
212 214
213 void AddToTranslation(LEnvironment* environment, 215 void AddToTranslation(LEnvironment* environment,
214 Translation* translation, 216 Translation* translation,
215 LOperand* op, 217 LOperand* op,
216 bool is_tagged, 218 bool is_tagged,
217 bool is_uint32, 219 bool is_uint32,
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 Label entry_; 402 Label entry_;
401 Label exit_; 403 Label exit_;
402 Label* external_exit_; 404 Label* external_exit_;
403 Label done_; 405 Label done_;
404 int instruction_index_; 406 int instruction_index_;
405 }; 407 };
406 408
407 } } // namespace v8::internal 409 } } // namespace v8::internal
408 410
409 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ 411 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/assembler-ia32.cc ('k') | src/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698