Fixed lint errors in test-debug. Sorry for that.

Review URL: http://codereview.chromium.org/56004

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1631 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
mikhail.naganov@gmail.com 2009-03-27 11:56:30 +00:00
parent d3c4a658f9
commit 66d40652da

View File

@ -3988,11 +3988,11 @@ TEST(DebuggerAgentProtocolOverflowHeader) {
class EmptyExternalStringResource : public v8::String::ExternalStringResource {
public:
EmptyExternalStringResource() { empty_[0] = 0; }
virtual ~EmptyExternalStringResource() {};
virtual ~EmptyExternalStringResource() {}
virtual size_t length() const { return empty_.length(); }
virtual const uint16_t* data() const { return empty_.start(); }
private:
::v8::internal::EmbeddedVector<uint16_t,1> empty_;
::v8::internal::EmbeddedVector<uint16_t, 1> empty_;
};
@ -4014,8 +4014,7 @@ TEST(DebugGetLoadedScripts) {
"var scripts = %DebugGetLoadedScripts();"
"for (var i = 0; i < scripts.length; ++i) {"
" scripts[i].line_ends;"
"}"
);
"}");
// Must not crash while accessing line_ends.
i::FLAG_allow_natives_syntax = allow_natives_syntax;
}