Skip to content

Commit e0200b8

Browse files
committed
Update for V8 v4.3
1 parent 6ee88d2 commit e0200b8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+2414
-2053
lines changed

Makefile

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,23 @@ LINT_SOURCES = \
1515
examples/async_pi_estimate/sync.cc \
1616
examples/async_pi_estimate/sync.h \
1717
nan.h \
18-
nan_string_bytes.h \
18+
nan_callbacks.h \
19+
nan_callbacks_12_inl.h \
20+
nan_callbacks_pre_12_inl.h \
21+
nan_converters.h \
22+
nan_converters_43_inl.h \
23+
nan_converters_pre_43_inl.h \
1924
nan_implementation_12_inl.h \
2025
nan_implementation_pre_12_inl.h \
26+
nan_maybe_43_inl.h \
27+
nan_maybe_pre_43_inl.h \
2128
nan_new.h \
2229
nan_persistent_12_inl.h \
2330
nan_persistent_pre_12_inl.h \
2431
nan_string_bytes.h \
2532
nan_weak.h \
2633
test/cpp/accessors.cpp \
34+
test/cpp/accessors2.cpp \
2735
test/cpp/asyncworker.cpp \
2836
test/cpp/asyncprogressworker.cpp \
2937
test/cpp/asyncworkererror.cpp \
@@ -32,6 +40,10 @@ LINT_SOURCES = \
3240
test/cpp/gc.cpp \
3341
test/cpp/indexedinterceptors.cpp \
3442
test/cpp/morenews.cpp \
43+
test/cpp/converters.cpp \
44+
test/cpp/isolatedata.cpp \
45+
test/cpp/makecallback.cpp \
46+
test/cpp/morenews.cpp \
3547
test/cpp/multifile1.cpp \
3648
test/cpp/multifile2.cpp \
3749
test/cpp/multifile2.h \
@@ -45,8 +57,10 @@ LINT_SOURCES = \
4557
test/cpp/returnnull.cpp \
4658
test/cpp/returnundefined.cpp \
4759
test/cpp/returnvalue.cpp \
60+
test/cpp/settemplate.cpp \
4861
test/cpp/strings.cpp \
4962
test/cpp/symbols.cpp \
63+
test/cpp/threadlocal.cpp \
5064
test/cpp/trycatch.cpp \
5165
test/cpp/weak.cpp \
5266
test/cpp/weak2.cpp \

examples/async_pi_estimate/addon.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ using v8::String;
1818
// Expose synchronous and asynchronous access to our
1919
// Estimate() function
2020
void InitAll(Handle<Object> exports) {
21-
exports->Set(NanNew<String>("calculateSync"),
21+
exports->Set(NanNew<String>("calculateSync").ToLocalChecked(),
2222
NanNew<FunctionTemplate>(CalculateSync)->GetFunction());
2323

24-
exports->Set(NanNew<String>("calculateAsync"),
24+
exports->Set(NanNew<String>("calculateAsync").ToLocalChecked(),
2525
NanNew<FunctionTemplate>(CalculateAsync)->GetFunction());
2626
}
2727

0 commit comments

Comments
 (0)