Upgrade to V8 3.4
Merge 3.4.14.35
Simple merge required updates to makefiles only.
Bug: 568872
Change-Id: I403a38452c547e06fcfa951c12eca12a1bc40978
diff --git a/src/d8-debug.cc b/src/d8-debug.cc
index 3df8693..0662205 100644
--- a/src/d8-debug.cc
+++ b/src/d8-debug.cc
@@ -159,7 +159,7 @@
void RunRemoteDebugger(int port) {
- RemoteDebugger debugger(i::Isolate::Current(), port);
+ RemoteDebugger debugger(port);
debugger.Run();
}
@@ -186,11 +186,11 @@
}
// Start the receiver thread.
- ReceiverThread receiver(isolate_, this);
+ ReceiverThread receiver(this);
receiver.Start();
// Start the keyboard thread.
- KeyboardThread keyboard(isolate_, this);
+ KeyboardThread keyboard(this);
keyboard.Start();
PrintPrompt();
@@ -272,6 +272,7 @@
void RemoteDebugger::HandleMessageReceived(char* message) {
+ Locker lock;
HandleScope scope;
// Print the event details.
@@ -300,6 +301,7 @@
void RemoteDebugger::HandleKeyboardCommand(char* command) {
+ Locker lock;
HandleScope scope;
// Convert the debugger command to a JSON debugger request.