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

Side by Side Diff: src/arm/lithium-codegen-arm.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/arm/lithium-arm.cc ('k') | src/arm/lithium-codegen-arm.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 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 257
258 void RecordSafepointWithLazyDeopt(LInstruction* instr, 258 void RecordSafepointWithLazyDeopt(LInstruction* instr,
259 SafepointMode safepoint_mode); 259 SafepointMode safepoint_mode);
260 260
261 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, 261 void RegisterEnvironmentForDeoptimization(LEnvironment* environment,
262 Safepoint::DeoptMode mode); 262 Safepoint::DeoptMode mode);
263 void DeoptimizeIf(Condition condition, 263 void DeoptimizeIf(Condition condition,
264 LEnvironment* environment, 264 LEnvironment* environment,
265 Deoptimizer::BailoutType bailout_type); 265 Deoptimizer::BailoutType bailout_type);
266 void DeoptimizeIf(Condition condition, LEnvironment* environment); 266 void DeoptimizeIf(Condition condition, LEnvironment* environment);
267 void ApplyCheckIf(Condition condition, LBoundsCheck* check);
268 267
269 void AddToTranslation(LEnvironment* environment, 268 void AddToTranslation(LEnvironment* environment,
270 Translation* translation, 269 Translation* translation,
271 LOperand* op, 270 LOperand* op,
272 bool is_tagged, 271 bool is_tagged,
273 bool is_uint32, 272 bool is_uint32,
274 int* object_index_pointer, 273 int* object_index_pointer,
275 int* dematerialized_index_pointer); 274 int* dematerialized_index_pointer);
276 void PopulateDeoptimizationData(Handle<Code> code); 275 void PopulateDeoptimizationData(Handle<Code> code);
277 int DefineDeoptimizationLiteral(Handle<Object> literal); 276 int DefineDeoptimizationLiteral(Handle<Object> literal);
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
455 LCodeGen* codegen_; 454 LCodeGen* codegen_;
456 Label entry_; 455 Label entry_;
457 Label exit_; 456 Label exit_;
458 Label* external_exit_; 457 Label* external_exit_;
459 int instruction_index_; 458 int instruction_index_;
460 }; 459 };
461 460
462 } } // namespace v8::internal 461 } } // namespace v8::internal
463 462
464 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ 463 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/lithium-arm.cc ('k') | src/arm/lithium-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698