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

Unified Diff: src/arm/assembler-arm.h

Issue 6347007: ARM: Implement Math.abs in lithium code generator for the integer and (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/arm/frames-arm.h » ('j') | src/arm/lithium-codegen-arm.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/arm/assembler-arm.h
diff --git a/src/arm/assembler-arm.h b/src/arm/assembler-arm.h
index ad1bdabd01cd73cb18eea60a0a23ee60cb68e615..f81e5b25d36d3e255ccba638280c73bae7fa6f59 100644
--- a/src/arm/assembler-arm.h
+++ b/src/arm/assembler-arm.h
@@ -372,6 +372,14 @@ enum Coprocessor {
};
+// Index of register used when pushing all registers.
+// Order of registers on the stack: r0, r1, ..., r11
+inline int SpIndexForPushAll(Register reg) {
Søren Thygesen Gjesse 2011/01/20 08:03:22 We have SafepointRegisterSlot in macro assembler w
+ ASSERT(reg.code() < Register::kNumAllocatableRegisters);
+ return reg.code();
+}
+
+
// Condition field in instructions.
enum Condition {
// any value < 0 is considered no_condition
« no previous file with comments | « no previous file | src/arm/frames-arm.h » ('j') | src/arm/lithium-codegen-arm.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698