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

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

Issue 246423005: Improve code generation for bounds checks. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 8 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/ia32/lithium-ia32.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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 220
221 void RecordSafepointWithLazyDeopt(LInstruction* instr, 221 void RecordSafepointWithLazyDeopt(LInstruction* instr,
222 SafepointMode safepoint_mode, 222 SafepointMode safepoint_mode,
223 int argc); 223 int argc);
224 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, 224 void RegisterEnvironmentForDeoptimization(LEnvironment* environment,
225 Safepoint::DeoptMode mode); 225 Safepoint::DeoptMode mode);
226 void DeoptimizeIf(Condition cc, 226 void DeoptimizeIf(Condition cc,
227 LEnvironment* environment, 227 LEnvironment* environment,
228 Deoptimizer::BailoutType bailout_type); 228 Deoptimizer::BailoutType bailout_type);
229 void DeoptimizeIf(Condition cc, LEnvironment* environment); 229 void DeoptimizeIf(Condition cc, LEnvironment* environment);
230 void ApplyCheckIf(Condition cc, LBoundsCheck* check);
231 230
232 bool DeoptEveryNTimes() { 231 bool DeoptEveryNTimes() {
233 return FLAG_deopt_every_n_times != 0 && !info()->IsStub(); 232 return FLAG_deopt_every_n_times != 0 && !info()->IsStub();
234 } 233 }
235 234
236 void AddToTranslation(LEnvironment* environment, 235 void AddToTranslation(LEnvironment* environment,
237 Translation* translation, 236 Translation* translation,
238 LOperand* op, 237 LOperand* op,
239 bool is_tagged, 238 bool is_tagged,
240 bool is_uint32, 239 bool is_uint32,
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
414 Label entry_; 413 Label entry_;
415 Label exit_; 414 Label exit_;
416 Label done_; 415 Label done_;
417 Label* external_exit_; 416 Label* external_exit_;
418 int instruction_index_; 417 int instruction_index_;
419 }; 418 };
420 419
421 } } // namespace v8::internal 420 } } // namespace v8::internal
422 421
423 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ 422 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-ia32.cc ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698