From e04a874eddcdf550eb50c374cc115f5d5bd28747 Mon Sep 17 00:00:00 2001 From: "loislo@chromium.org" Date: Mon, 24 Jun 2013 13:03:19 +0000 Subject: [PATCH] CPUProfiler: fix for test. TBR= yangguo@chromium.org Review URL: https://codereview.chromium.org/17589010 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15288 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- test/cctest/test-log.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/cctest/test-log.cc b/test/cctest/test-log.cc index 8615784..6ccf58e 100644 --- a/test/cctest/test-log.cc +++ b/test/cctest/test-log.cc @@ -423,7 +423,7 @@ TEST(LogCallbacks) { i::EmbeddedVector ref_data; i::OS::SNPrintF(ref_data, - "code-creation,Callback,-3,0x%" V8PRIxPTR ",1,\"method1\"\0", + "code-creation,Callback,-2,0x%" V8PRIxPTR ",1,\"method1\"\0", ObjMethod1); CHECK_NE(NULL, StrNStr(log.start(), ref_data.start(), log.length())); @@ -464,21 +464,21 @@ TEST(LogAccessorCallbacks) { EmbeddedVector prop1_getter_record; i::OS::SNPrintF(prop1_getter_record, - "code-creation,Callback,-3,0x%" V8PRIxPTR ",1,\"get prop1\"", + "code-creation,Callback,-2,0x%" V8PRIxPTR ",1,\"get prop1\"", Prop1Getter); CHECK_NE(NULL, StrNStr(log.start(), prop1_getter_record.start(), log.length())); EmbeddedVector prop1_setter_record; i::OS::SNPrintF(prop1_setter_record, - "code-creation,Callback,-3,0x%" V8PRIxPTR ",1,\"set prop1\"", + "code-creation,Callback,-2,0x%" V8PRIxPTR ",1,\"set prop1\"", Prop1Setter); CHECK_NE(NULL, StrNStr(log.start(), prop1_setter_record.start(), log.length())); EmbeddedVector prop2_getter_record; i::OS::SNPrintF(prop2_getter_record, - "code-creation,Callback,-3,0x%" V8PRIxPTR ",1,\"get prop2\"", + "code-creation,Callback,-2,0x%" V8PRIxPTR ",1,\"get prop2\"", Prop2Getter); CHECK_NE(NULL, StrNStr(log.start(), prop2_getter_record.start(), log.length())); -- 2.7.4