Reduced code size by using shorter instruction encoding when possible.

Added a --help option to the shell sample and to the d8 shell.

Added visual studio project files for building the ARM simulator.

Fixed a number of ARM simulator issues.

Fixed bug in out-of-memory handling on ARM.

Implemented shell support for passing arguments to a script from the command line.

Fixed bug in date code that made certain date functions return -0 instead of 0 for dates before the epoch.

Restricted applications of eval so it can only be used in the context of the associated global object.

Treat byte-order marks as whitespace characters.


git-svn-id: http://v8.googlecode.com/svn/trunk@768 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
diff --git a/src/debug.cc b/src/debug.cc
index 33fafe7..7acc117 100644
--- a/src/debug.cc
+++ b/src/debug.cc
@@ -1135,7 +1135,7 @@
 
 bool Debug::EnsureCompiled(Handle<SharedFunctionInfo> shared) {
   if (shared->is_compiled()) return true;
-  return CompileLazyShared(shared, CLEAR_EXCEPTION);
+  return CompileLazyShared(shared, CLEAR_EXCEPTION, 0);
 }
 
 
@@ -1371,35 +1371,6 @@
 }
 
 
-Handle<String> Debugger::ProcessRequest(Handle<Object> exec_state,
-                                        Handle<Object> request,
-                                        bool stopped) {
-  // Get the function ProcessDebugRequest (declared in debug.js).
-  Handle<JSFunction> process_denbug_request =
-    Handle<JSFunction>(JSFunction::cast(
-    Debug::debug_context()->global()->GetProperty(
-        *Factory::LookupAsciiSymbol("ProcessDebugRequest"))));
-
-  // Call ProcessDebugRequest expect String result. The ProcessDebugRequest
-  // will never throw an exception (see debug.js).
-  bool caught_exception;
-  const int argc = 3;
-  Object** argv[argc] = { exec_state.location(),
-                          request.location(),
-                          stopped ? Factory::true_value().location() :
-                                    Factory::false_value().location()};
-  Handle<Object> result = Execution::TryCall(process_denbug_request,
-                                             Factory::undefined_value(),
-                                             argc, argv,
-                                             &caught_exception);
-  if (caught_exception) {
-    return Factory::empty_symbol();
-  }
-
-  return Handle<String>::cast(result);
-}
-
-
 void Debugger::OnException(Handle<Object> exception, bool uncaught) {
   HandleScope scope;