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

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

Issue 900223002: Revert of Externalize deoptimization reasons. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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/x64/assembler-x64.cc ('k') | src/x64/lithium-codegen-x64.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_X64_LITHIUM_CODEGEN_X64_H_ 5 #ifndef V8_X64_LITHIUM_CODEGEN_X64_H_
6 #define V8_X64_LITHIUM_CODEGEN_X64_H_ 6 #define V8_X64_LITHIUM_CODEGEN_X64_H_
7 7
8 #include "src/x64/lithium-x64.h" 8 #include "src/x64/lithium-x64.h"
9 9
10 #include "src/base/logging.h" 10 #include "src/base/logging.h"
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 // to be in rdi. 192 // to be in rdi.
193 void CallKnownFunction(Handle<JSFunction> function, 193 void CallKnownFunction(Handle<JSFunction> function,
194 int formal_parameter_count, int arity, 194 int formal_parameter_count, int arity,
195 LInstruction* instr); 195 LInstruction* instr);
196 196
197 void RecordSafepointWithLazyDeopt(LInstruction* instr, 197 void RecordSafepointWithLazyDeopt(LInstruction* instr,
198 SafepointMode safepoint_mode, 198 SafepointMode safepoint_mode,
199 int argc); 199 int argc);
200 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, 200 void RegisterEnvironmentForDeoptimization(LEnvironment* environment,
201 Safepoint::DeoptMode mode); 201 Safepoint::DeoptMode mode);
202 void DeoptimizeIf(Condition cc, LInstruction* instr, 202 void DeoptimizeIf(Condition cc, LInstruction* instr, const char* detail,
203 Deoptimizer::DeoptReason deopt_reason,
204 Deoptimizer::BailoutType bailout_type); 203 Deoptimizer::BailoutType bailout_type);
205 void DeoptimizeIf(Condition cc, LInstruction* instr, 204 void DeoptimizeIf(Condition cc, LInstruction* instr, const char* detail);
206 Deoptimizer::DeoptReason deopt_reason);
207 205
208 bool DeoptEveryNTimes() { 206 bool DeoptEveryNTimes() {
209 return FLAG_deopt_every_n_times != 0 && !info()->IsStub(); 207 return FLAG_deopt_every_n_times != 0 && !info()->IsStub();
210 } 208 }
211 209
212 void AddToTranslation(LEnvironment* environment, 210 void AddToTranslation(LEnvironment* environment,
213 Translation* translation, 211 Translation* translation,
214 LOperand* op, 212 LOperand* op,
215 bool is_tagged, 213 bool is_tagged,
216 bool is_uint32, 214 bool is_uint32,
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 Label entry_; 387 Label entry_;
390 Label exit_; 388 Label exit_;
391 Label done_; 389 Label done_;
392 Label* external_exit_; 390 Label* external_exit_;
393 int instruction_index_; 391 int instruction_index_;
394 }; 392 };
395 393
396 } } // namespace v8::internal 394 } } // namespace v8::internal
397 395
398 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ 396 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_
OLDNEW
« no previous file with comments | « src/x64/assembler-x64.cc ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698