Revision: 15288
Author:   [email protected]
Date:     Mon Jun 24 06:03:19 2013
Log:      CPUProfiler: fix for test.

TBR= [email protected]

Review URL: https://codereview.chromium.org/17589010
http://code.google.com/p/v8/source/detail?r=15288

Modified:
 /branches/bleeding_edge/test/cctest/test-log.cc

=======================================
--- /branches/bleeding_edge/test/cctest/test-log.cc     Thu Jun 20 05:28:27 2013
+++ /branches/bleeding_edge/test/cctest/test-log.cc     Mon Jun 24 06:03:19 2013
@@ -423,7 +423,7 @@

   i::EmbeddedVector<char, 100> 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 @@

   EmbeddedVector<char, 100> 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<char, 100> 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<char, 100> 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()));

--
--
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