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

Side by Side Diff: src/arm64/lithium-codegen-arm64.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-arm64.cc ('k') | src/arm64/lithium-codegen-arm64.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 void DeoptimizeIfNotSmi(Register rt, LEnvironment* environment); 236 void DeoptimizeIfNotSmi(Register rt, LEnvironment* environment);
237 void DeoptimizeIfRoot(Register rt, 237 void DeoptimizeIfRoot(Register rt,
238 Heap::RootListIndex index, 238 Heap::RootListIndex index,
239 LEnvironment* environment); 239 LEnvironment* environment);
240 void DeoptimizeIfNotRoot(Register rt, 240 void DeoptimizeIfNotRoot(Register rt,
241 Heap::RootListIndex index, 241 Heap::RootListIndex index,
242 LEnvironment* environment); 242 LEnvironment* environment);
243 void DeoptimizeIfMinusZero(DoubleRegister input, LEnvironment* environment); 243 void DeoptimizeIfMinusZero(DoubleRegister input, LEnvironment* environment);
244 void DeoptimizeIfBitSet(Register rt, int bit, LEnvironment* environment); 244 void DeoptimizeIfBitSet(Register rt, int bit, LEnvironment* environment);
245 void DeoptimizeIfBitClear(Register rt, int bit, LEnvironment* environment); 245 void DeoptimizeIfBitClear(Register rt, int bit, LEnvironment* environment);
246 void ApplyCheckIf(Condition cc, LBoundsCheck* check);
247 246
248 MemOperand PrepareKeyedExternalArrayOperand(Register key, 247 MemOperand PrepareKeyedExternalArrayOperand(Register key,
249 Register base, 248 Register base,
250 Register scratch, 249 Register scratch,
251 bool key_is_smi, 250 bool key_is_smi,
252 bool key_is_constant, 251 bool key_is_constant,
253 int constant_key, 252 int constant_key,
254 ElementsKind elements_kind, 253 ElementsKind elements_kind,
255 int additional_index); 254 int additional_index);
256 void CalcKeyedArrayBaseRegister(Register base, 255 void CalcKeyedArrayBaseRegister(Register base,
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
485 484
486 protected: 485 protected:
487 MacroAssembler* masm() const { return codegen_->masm(); } 486 MacroAssembler* masm() const { return codegen_->masm(); }
488 487
489 LCodeGen* codegen_; 488 LCodeGen* codegen_;
490 }; 489 };
491 490
492 } } // namespace v8::internal 491 } } // namespace v8::internal
493 492
494 #endif // V8_ARM64_LITHIUM_CODEGEN_ARM64_H_ 493 #endif // V8_ARM64_LITHIUM_CODEGEN_ARM64_H_
OLDNEW
« no previous file with comments | « src/arm64/lithium-arm64.cc ('k') | src/arm64/lithium-codegen-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698