Reviewers: ulan,

Description:
Fix comment on ARM code age patch first instruction

The instruction's valid assembly is either ADR or SUB, not ADD.

R= [email protected]

Please review this at https://codereview.chromium.org/103603004/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+1, -1 lines):
  M src/arm/codegen-arm.cc


Index: src/arm/codegen-arm.cc
diff --git a/src/arm/codegen-arm.cc b/src/arm/codegen-arm.cc
index 255e1f3fb8529e64f4c239e269ad549fd987fb3d..ebc1f9b0ac12a4fcd1a31c5fefedb82bef82966f 100644
--- a/src/arm/codegen-arm.cc
+++ b/src/arm/codegen-arm.cc
@@ -834,7 +834,7 @@ void MathExpGenerator::EmitMathExp(MacroAssembler* masm,
 #undef __

 #ifdef DEBUG
-// add(r0, pc, Operand(-8))
+// sub(r0, pc, Operand(8))
 static const uint32_t kCodeAgePatchFirstInstruction = 0xe24f0008;
 #endif



--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to