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

Side by Side Diff: src/ia32/lithium-codegen-ia32.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/arm64/lithium-codegen-arm64.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 // 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 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 264
265 void RecordSafepointWithLazyDeopt(LInstruction* instr, 265 void RecordSafepointWithLazyDeopt(LInstruction* instr,
266 SafepointMode safepoint_mode); 266 SafepointMode safepoint_mode);
267 267
268 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, 268 void RegisterEnvironmentForDeoptimization(LEnvironment* environment,
269 Safepoint::DeoptMode mode); 269 Safepoint::DeoptMode mode);
270 void DeoptimizeIf(Condition cc, 270 void DeoptimizeIf(Condition cc,
271 LEnvironment* environment, 271 LEnvironment* environment,
272 Deoptimizer::BailoutType bailout_type); 272 Deoptimizer::BailoutType bailout_type);
273 void DeoptimizeIf(Condition cc, LEnvironment* environment); 273 void DeoptimizeIf(Condition cc, LEnvironment* environment);
274 void ApplyCheckIf(Condition cc, LBoundsCheck* check);
275 274
276 bool DeoptEveryNTimes() { 275 bool DeoptEveryNTimes() {
277 return FLAG_deopt_every_n_times != 0 && !info()->IsStub(); 276 return FLAG_deopt_every_n_times != 0 && !info()->IsStub();
278 } 277 }
279 278
280 void AddToTranslation(LEnvironment* environment, 279 void AddToTranslation(LEnvironment* environment,
281 Translation* translation, 280 Translation* translation,
282 LOperand* op, 281 LOperand* op,
283 bool is_tagged, 282 bool is_tagged,
284 bool is_uint32, 283 bool is_uint32,
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
539 Label exit_; 538 Label exit_;
540 Label* external_exit_; 539 Label* external_exit_;
541 Label done_; 540 Label done_;
542 int instruction_index_; 541 int instruction_index_;
543 LCodeGen::X87Stack x87_stack_; 542 LCodeGen::X87Stack x87_stack_;
544 }; 543 };
545 544
546 } } // namespace v8::internal 545 } } // namespace v8::internal
547 546
548 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ 547 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « src/arm64/lithium-codegen-arm64.cc ('k') | src/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698