Review URL: http://codereview.chromium.org/100252
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1832
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
// If we can't find the function in the cache, we compile a new
// function and insert it into the cache.
if (!cache->Lookup(name, &boilerplate)) {
-#ifdef DEBUG
- ASSERT(StringShape(*source).IsAsciiRepresentation());
-#endif
+ ASSERT(source->IsAsciiRepresentation());
Handle<String> script_name = Factory::NewStringFromUtf8(name);
boilerplate =
Compiler::Compile(source, script_name, 0, 0, extension, NULL);