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

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

Issue 17568015: New array bounds check elimination pass (focused on induction variables and bitwise operations). (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Reimplemented CheckHoistability with no recursive calls. Created 7 years, 5 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
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 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 239
240 void RecordSafepointWithLazyDeopt(LInstruction* instr, 240 void RecordSafepointWithLazyDeopt(LInstruction* instr,
241 SafepointMode safepoint_mode, 241 SafepointMode safepoint_mode,
242 int argc); 242 int argc);
243 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, 243 void RegisterEnvironmentForDeoptimization(LEnvironment* environment,
244 Safepoint::DeoptMode mode); 244 Safepoint::DeoptMode mode);
245 void DeoptimizeIf(Condition cc, 245 void DeoptimizeIf(Condition cc,
246 LEnvironment* environment, 246 LEnvironment* environment,
247 Deoptimizer::BailoutType bailout_type); 247 Deoptimizer::BailoutType bailout_type);
248 void DeoptimizeIf(Condition cc, LEnvironment* environment); 248 void DeoptimizeIf(Condition cc, LEnvironment* environment);
249 void ApplyCheckIf(Condition cc, LBoundsCheck* check);
249 void SoftDeoptimize(LEnvironment* environment); 250 void SoftDeoptimize(LEnvironment* environment);
250 void AddToTranslation(Translation* translation, 251 void AddToTranslation(Translation* translation,
251 LOperand* op, 252 LOperand* op,
252 bool is_tagged, 253 bool is_tagged,
253 bool is_uint32); 254 bool is_uint32);
254 void RegisterDependentCodeForEmbeddedMaps(Handle<Code> code); 255 void RegisterDependentCodeForEmbeddedMaps(Handle<Code> code);
255 void PopulateDeoptimizationData(Handle<Code> code); 256 void PopulateDeoptimizationData(Handle<Code> code);
256 int DefineDeoptimizationLiteral(Handle<Object> literal); 257 int DefineDeoptimizationLiteral(Handle<Object> literal);
257 258
258 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); 259 void PopulateDeoptimizationLiteralsWithInlinedFunctions();
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 LCodeGen* codegen_; 426 LCodeGen* codegen_;
426 Label entry_; 427 Label entry_;
427 Label exit_; 428 Label exit_;
428 Label* external_exit_; 429 Label* external_exit_;
429 int instruction_index_; 430 int instruction_index_;
430 }; 431 };
431 432
432 } } // namespace v8::internal 433 } } // namespace v8::internal
433 434
434 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ 435 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_
OLDNEW
« src/flag-definitions.h ('K') | « src/v8-counters.h ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698