Reviewers: Christian Plesner Hansen,

Description:
Add change accidentally omitted from last changelist.

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

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

Affected files:
   M     src/bootstrapper.cc


Index: src/bootstrapper.cc
===================================================================
--- src/bootstrapper.cc (revision 1829)
+++ src/bootstrapper.cc (working copy)
@@ -870,9 +870,7 @@
    // 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);



--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to