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

Side by Side Diff: src/arm/macro-assembler-arm.h

Issue 9638018: [v8-dev] Optimise Math.floor(x/y) to use integer division for specific divisor.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 8 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-codegen-arm.cc ('k') | src/arm/macro-assembler-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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 // Don't load NaNs or infinities, branch to the non number case instead. 78 // Don't load NaNs or infinities, branch to the non number case instead.
79 AVOID_NANS_AND_INFINITIES = 1 << 1 79 AVOID_NANS_AND_INFINITIES = 1 << 1
80 }; 80 };
81 81
82 82
83 enum RememberedSetAction { EMIT_REMEMBERED_SET, OMIT_REMEMBERED_SET }; 83 enum RememberedSetAction { EMIT_REMEMBERED_SET, OMIT_REMEMBERED_SET };
84 enum SmiCheck { INLINE_SMI_CHECK, OMIT_SMI_CHECK }; 84 enum SmiCheck { INLINE_SMI_CHECK, OMIT_SMI_CHECK };
85 enum LinkRegisterStatus { kLRHasNotBeenSaved, kLRHasBeenSaved }; 85 enum LinkRegisterStatus { kLRHasNotBeenSaved, kLRHasBeenSaved };
86 86
87 87
88 bool AreAliased(Register r1, Register r2, Register r3, Register r4); 88 #ifdef DEBUG
89 bool AreAliased(Register reg1,
90 Register reg2,
91 Register reg3 = no_reg,
92 Register reg4 = no_reg,
93 Register reg5 = no_reg,
94 Register reg6 = no_reg);
95 #endif
89 96
90 97
91 // MacroAssembler implements a collection of frequently used macros. 98 // MacroAssembler implements a collection of frequently used macros.
92 class MacroAssembler: public Assembler { 99 class MacroAssembler: public Assembler {
93 public: 100 public:
94 // The isolate parameter can be NULL if the macro assembler should 101 // The isolate parameter can be NULL if the macro assembler should
95 // not use isolate-dependent functionality. In this case, it's the 102 // not use isolate-dependent functionality. In this case, it's the
96 // responsibility of the caller to never invoke such function on the 103 // responsibility of the caller to never invoke such function on the
97 // macro assembler. 104 // macro assembler.
98 MacroAssembler(Isolate* isolate, void* buffer, int size); 105 MacroAssembler(Isolate* isolate, void* buffer, int size);
(...skipping 1272 matching lines...) Expand 10 before | Expand all | Expand 10 after
1371 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1378 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1372 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1379 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1373 #else 1380 #else
1374 #define ACCESS_MASM(masm) masm-> 1381 #define ACCESS_MASM(masm) masm->
1375 #endif 1382 #endif
1376 1383
1377 1384
1378 } } // namespace v8::internal 1385 } } // namespace v8::internal
1379 1386
1380 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1387 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/arm/macro-assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698