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

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

Issue 9223011: Some assembler-level optimizations on ARM. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: . Created 8 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
Index: src/arm/macro-assembler-arm.h
diff --git a/src/arm/macro-assembler-arm.h b/src/arm/macro-assembler-arm.h
index 8e73b32d8906a17846cbbbe85b9ffadecde1e3a8..862cc68c54acf027e7c85d1276ea1e55678f5098 100644
--- a/src/arm/macro-assembler-arm.h
+++ b/src/arm/macro-assembler-arm.h
@@ -1149,6 +1149,12 @@ class MacroAssembler: public Assembler {
mov(dst, Operand(src, ASR, kSmiTagSize), s);
}
+ // Tentatively untag and jump if the value has been a smi.
ulan 2012/01/27 15:24:35 "Tentatively" is a bit misleading, since the funct
+ void UntagAndJumpIfSmi(Register dst, Register src, Label* smi_case);
+
+ // Tentatively untag and jump if the value has not been a smi.
+ void UntagAndJumpIfNotSmi(Register dst, Register src, Label* smi_case);
+
// Jump the register contains a smi.
inline void JumpIfSmi(Register value, Label* smi_label) {
tst(value, Operand(kSmiTagMask));

Powered by Google App Engine
This is Rietveld 408576698