Revision: 5629
Author: [email protected]
Date: Fri Oct 15 04:45:05 2010
Log: Add stop-at flag implementation to full compiler on all platforms.
Review URL: http://codereview.chromium.org/3791009
http://code.google.com/p/v8/source/detail?r=5629
Modified:
/branches/bleeding_edge/src/arm/full-codegen-arm.cc
/branches/bleeding_edge/src/ia32/full-codegen-ia32.cc
/branches/bleeding_edge/src/x64/full-codegen-x64.cc
=======================================
--- /branches/bleeding_edge/src/arm/full-codegen-arm.cc Fri Sep 24 00:53:59
2010
+++ /branches/bleeding_edge/src/arm/full-codegen-arm.cc Fri Oct 15 04:45:05
2010
@@ -62,6 +62,13 @@
SetFunctionPosition(function());
Comment cmnt(masm_, "[ function compiled by full code generator");
+#ifdef DEBUG
+ if (strlen(FLAG_stop_at) > 0 &&
+ info->function()->name()->IsEqualTo(CStrVector(FLAG_stop_at))) {
+ __ stop("stop-at");
+ }
+#endif
+
int locals_count = scope()->num_stack_slots();
__ Push(lr, fp, cp, r1);
=======================================
--- /branches/bleeding_edge/src/ia32/full-codegen-ia32.cc Fri Sep 24
00:53:59 2010
+++ /branches/bleeding_edge/src/ia32/full-codegen-ia32.cc Fri Oct 15
04:45:05 2010
@@ -61,6 +61,13 @@
SetFunctionPosition(function());
Comment cmnt(masm_, "[ function compiled by full code generator");
+#ifdef DEBUG
+ if (strlen(FLAG_stop_at) > 0 &&
+ info->function()->name()->IsEqualTo(CStrVector(FLAG_stop_at))) {
+ __ int3();
+ }
+#endif
+
__ push(ebp); // Caller's frame pointer.
__ mov(ebp, esp);
__ push(esi); // Callee's context.
=======================================
--- /branches/bleeding_edge/src/x64/full-codegen-x64.cc Thu Sep 30 04:48:03
2010
+++ /branches/bleeding_edge/src/x64/full-codegen-x64.cc Fri Oct 15 04:45:05
2010
@@ -61,6 +61,12 @@
SetFunctionPosition(function());
Comment cmnt(masm_, "[ function compiled by full code generator");
+#ifdef DEBUG
+ if (strlen(FLAG_stop_at) > 0 &&
+ info->function()->name()->IsEqualTo(CStrVector(FLAG_stop_at))) {
+ __ int3();
+ }
+#endif
__ push(rbp); // Caller's frame pointer.
__ movq(rbp, rsp);
__ push(rsi); // Callee's context.
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev