@@ -205,7 +205,7 @@ static void StartTickSpinner() {
205205
206206static Handle<Value> NeedTickCallback (const Arguments& args) {
207207 StartTickSpinner ();
208- return Undefined ();
208+ return Undefined (node_isolate );
209209}
210210
211211
@@ -956,7 +956,7 @@ MakeCallback(const Handle<Object> object,
956956
957957 if (try_catch.HasCaught ()) {
958958 FatalException (try_catch);
959- return Undefined ();
959+ return Undefined (node_isolate );
960960 }
961961
962962 return scope.Close (ret);
@@ -1312,7 +1312,7 @@ Handle<Value> GetActiveHandles(const Arguments& args) {
13121312
13131313static Handle<Value> Abort (const Arguments& args) {
13141314 abort ();
1315- return Undefined ();
1315+ return Undefined (node_isolate );
13161316}
13171317
13181318
@@ -1331,7 +1331,7 @@ static Handle<Value> Chdir(const Arguments& args) {
13311331 return ThrowException (UVException (r.code , " uv_chdir" ));
13321332 }
13331333
1334- return Undefined ();
1334+ return Undefined (node_isolate );
13351335}
13361336
13371337
@@ -1529,7 +1529,7 @@ static Handle<Value> SetGid(const Arguments& args) {
15291529 return ThrowException (ErrnoException (errno, " setgid" ));
15301530 }
15311531
1532- return Undefined ();
1532+ return Undefined (node_isolate );
15331533}
15341534
15351535
@@ -1550,7 +1550,7 @@ static Handle<Value> SetUid(const Arguments& args) {
15501550 return ThrowException (ErrnoException (errno, " setuid" ));
15511551 }
15521552
1553- return Undefined ();
1553+ return Undefined (node_isolate );
15541554}
15551555
15561556
@@ -1620,7 +1620,7 @@ static Handle<Value> SetGroups(const Arguments& args) {
16201620 return ThrowException (ErrnoException (errno, " setgroups" ));
16211621 }
16221622
1623- return Undefined ();
1623+ return Undefined (node_isolate );
16241624}
16251625
16261626
@@ -1669,7 +1669,7 @@ static Handle<Value> InitGroups(const Arguments& args) {
16691669 return ThrowException (ErrnoException (errno, " initgroups" ));
16701670 }
16711671
1672- return Undefined ();
1672+ return Undefined (node_isolate );
16731673}
16741674
16751675#endif // __POSIX__
@@ -1678,7 +1678,7 @@ static Handle<Value> InitGroups(const Arguments& args) {
16781678v8::Handle<v8::Value> Exit (const v8::Arguments& args) {
16791679 HandleScope scope;
16801680 exit (args[0 ]->IntegerValue ());
1681- return Undefined ();
1681+ return Undefined (node_isolate );
16821682}
16831683
16841684
@@ -1689,7 +1689,7 @@ static Handle<Value> Uptime(const Arguments& args) {
16891689 uv_err_t err = uv_uptime (&uptime);
16901690
16911691 if (err.code != UV_OK) {
1692- return Undefined ();
1692+ return Undefined (node_isolate );
16931693 }
16941694
16951695 return scope.Close (Number::New (uptime - prog_start_time));
@@ -1747,7 +1747,7 @@ Handle<Value> Kill(const Arguments& args) {
17471747 return scope.Close (Integer::New (-1 , node_isolate));
17481748 }
17491749
1750- return Undefined ();
1750+ return Undefined (node_isolate );
17511751}
17521752
17531753// used in Hrtime() below
@@ -1873,7 +1873,7 @@ Handle<Value> DLOpen(const v8::Arguments& args) {
18731873
18741874 // Tell coverity that 'handle' should not be freed when we return.
18751875 // coverity[leaked_storage]
1876- return Undefined ();
1876+ return Undefined (node_isolate );
18771877}
18781878
18791879
@@ -2630,7 +2630,7 @@ Handle<Value> DebugProcess(const Arguments& args) {
26302630 return ThrowException (ErrnoException (errno, " kill" ));
26312631 }
26322632
2633- return Undefined ();
2633+ return Undefined (node_isolate );
26342634}
26352635#endif // __POSIX__
26362636
@@ -2703,7 +2703,7 @@ static int RegisterDebugSignalHandler() {
27032703
27042704static Handle<Value> DebugProcess (const Arguments& args) {
27052705 HandleScope scope;
2706- Handle<Value> rv = Undefined ();
2706+ Handle<Value> rv = Undefined (node_isolate );
27072707 DWORD pid;
27082708 HANDLE process = NULL ;
27092709 HANDLE thread = NULL ;
@@ -2787,14 +2787,14 @@ static Handle<Value> DebugProcess(const Arguments& args) {
27872787 CloseHandle (mapping);
27882788 }
27892789
2790- return Undefined ();
2790+ return Undefined (node_isolate );
27912791}
27922792#endif // _WIN32
27932793
27942794
27952795static Handle<Value> DebugPause (const Arguments& args) {
27962796 v8::Debug::DebugBreak (node_isolate);
2797- return Undefined ();
2797+ return Undefined (node_isolate );
27982798}
27992799
28002800
@@ -2804,7 +2804,7 @@ static Handle<Value> DebugEnd(const Arguments& args) {
28042804 debugger_running = false ;
28052805 }
28062806
2807- return Undefined ();
2807+ return Undefined (node_isolate );
28082808}
28092809
28102810
0 commit comments