Reviewers: Søren Gjesse,

Description:
Fix some presubmit errors.

tbr=sgje...@chromium.org

Please review this at http://codereview.chromium.org/400001

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

Affected files:
   M     src/top.cc
   M     test/cctest/test-debug.cc


Index: test/cctest/test-debug.cc
===================================================================
--- test/cctest/test-debug.cc   (revision 3310)
+++ test/cctest/test-debug.cc   (working copy)
@@ -5616,7 +5616,7 @@
  static v8::Handle<v8::Value> NamedGetterWithCallingContextCheck(
      v8::Local<v8::String> name,
      const v8::AccessorInfo& info) {
-  CHECK(strcmp(*v8::String::AsciiValue(name), "a") == 0);
+  CHECK_EQ(0, strcmp(*v8::String::AsciiValue(name), "a"));
    v8::Handle<v8::Context> current = v8::Context::GetCurrent();
    CHECK(current == debugee_context);
    CHECK(current != debugger_context);
Index: src/top.cc
===================================================================
--- src/top.cc  (revision 3310)
+++ src/top.cc  (working copy)
@@ -941,7 +941,7 @@
        }
      }
    }
-#endif  // ENABLE_DEBUGGER_SUPPORT
+#endif  // ENABLE_DEBUGGER_SUPPORT
    if (it.done()) return Handle<Context>::null();
    JavaScriptFrame* frame = it.frame();
    Context* context = Context::cast(frame->context());



--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to