Fix lint issue and compile error.

TBR=erik.corry@gmail.com
Review URL: http://codereview.chromium.org/2157006

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4711 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
ager@chromium.org 2010-05-25 06:43:13 +00:00
parent ab6055d85d
commit 45c7a14d27
2 changed files with 2 additions and 4 deletions

View File

@ -139,8 +139,7 @@ Object* Object::GetPropertyWithReceiver(Object* receiver,
}
Object* Object::GetPropertyWithCallk
jback(Object* receiver,
Object* Object::GetPropertyWithCallback(Object* receiver,
Object* structure,
String* name,
Object* holder) {

View File

@ -5073,8 +5073,7 @@ ScriptDataImpl::~ScriptDataImpl() {
int ScriptDataImpl::Length() {
static const int kCharToUnsignedFactor = sizeof(unsigned) / sizeof(char);
return store_.length() * kCharToUnsignedFactor;
return store_.length() * sizeof(unsigned);
}