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

Unified Diff: test/cctest/test-log.cc

Issue 142813003: A64: Synchronize with r15358. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 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
« no previous file with comments | « test/cctest/test-liveedit.cc ('k') | test/cctest/test-log-stack-tracer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-log.cc
diff --git a/test/cctest/test-log.cc b/test/cctest/test-log.cc
index 5daf8dd53feeaf44f3f4ea1548c878ae61cdabe1..6ccf58e69075a5b10b38b22e54f79c2af66012d5 100644
--- a/test/cctest/test-log.cc
+++ b/test/cctest/test-log.cc
@@ -392,8 +392,7 @@ TEST(Issue23768) {
}
-static v8::Handle<v8::Value> ObjMethod1(const v8::Arguments& args) {
- return v8::Handle<v8::Value>();
+static void ObjMethod1(const v8::FunctionCallbackInfo<v8::Value>& args) {
}
TEST(LogCallbacks) {
@@ -424,26 +423,24 @@ TEST(LogCallbacks) {
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()));
}
-static v8::Handle<v8::Value> Prop1Getter(v8::Local<v8::String> property,
- const v8::AccessorInfo& info) {
- return v8::Handle<v8::Value>();
+static void Prop1Getter(v8::Local<v8::String> property,
+ const v8::PropertyCallbackInfo<v8::Value>& info) {
}
static void Prop1Setter(v8::Local<v8::String> property,
- v8::Local<v8::Value> value,
- const v8::AccessorInfo& info) {
+ v8::Local<v8::Value> value,
+ const v8::PropertyCallbackInfo<void>& info) {
}
-static v8::Handle<v8::Value> Prop2Getter(v8::Local<v8::String> property,
- const v8::AccessorInfo& info) {
- return v8::Handle<v8::Value>();
+static void Prop2Getter(v8::Local<v8::String> property,
+ const v8::PropertyCallbackInfo<v8::Value>& info) {
}
TEST(LogAccessorCallbacks) {
@@ -467,21 +464,21 @@ TEST(LogAccessorCallbacks) {
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()));
« no previous file with comments | « test/cctest/test-liveedit.cc ('k') | test/cctest/test-log-stack-tracer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698