Reviewers: Jakob,

Description:
Fix bug in tools/plot-timer-events

Bug was introduced in r21338.

[email protected]

Please review this at https://codereview.chromium.org/314143004/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+3, -3 lines):
  M src/bootstrapper.cc
  M tools/plot-timer-events


Index: src/bootstrapper.cc
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
index 9f59bcd74ad030455529be4e6b842cfdd8ab253e..69aff083a3787d709261601c3415b922cfe293f3 100644
--- a/src/bootstrapper.cc
+++ b/src/bootstrapper.cc
@@ -1071,7 +1071,7 @@ void Genesis::InitializeGlobal(Handle<GlobalObject> inner_global,
     native_context()->set_json_object(*json_object);
   }

-  { // -- A r r a y B u f f e r
+  {  // -- A r r a y B u f f e r
     Handle<JSFunction> array_buffer_fun =
         InstallFunction(
             global, "ArrayBuffer", JS_ARRAY_BUFFER_TYPE,
@@ -1081,7 +1081,7 @@ void Genesis::InitializeGlobal(Handle<GlobalObject> inner_global,
     native_context()->set_array_buffer_fun(*array_buffer_fun);
   }

-  { // -- T y p e d A r r a y s
+  {  // -- T y p e d A r r a y s
#define INSTALL_TYPED_ARRAY(Type, type, TYPE, ctype, size) \ { \ Handle<JSFunction> fun; \
Index: tools/plot-timer-events
diff --git a/tools/plot-timer-events b/tools/plot-timer-events
index 87ae0a087789320154f7fe684e12719e0b2b4691..15f28ac22b5b849314ff745b305be51a75b9a194 100755
--- a/tools/plot-timer-events
+++ b/tools/plot-timer-events
@@ -15,7 +15,7 @@ if test ! "$D8_PATH"; then
   if test -x "$d8_public"; then D8_PATH=$(dirname "$d8_public"); fi
 fi

-if test -n "$D8_PATH"; then
+if test ! -n "$D8_PATH"; then
   D8_PATH=$tools_path/..
 fi



--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to