Ignore:
Timestamp:
Mar 22, 2011, 10:21:38 PM (14 years ago)
Author:
[email protected]
Message:

2011-03-22 Geoffrey Garen <[email protected]>

Reviewed by Maciej Stachowiak.

REGRESSION (r78382): No scripts appear in the Web Inspector's Scripts
panel on Windows, and many inspector regression tests are failing
https://bugs.webkit.org/show_bug.cgi?id=54490


The bug was caused by two different classes using the same name (Recompiler).

  • debugger/Debugger.cpp:
  • runtime/JSGlobalData.cpp: (WTF::Recompiler::operator()): Put Recompiler in an anonymous namespace, so our two recompilers' inline functions don't stomp each other at link time.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/debugger/Debugger.cpp

    r81191 r81751  
    3030#include "Protect.h"
    3131
    32 namespace JSC {
     32namespace {
     33
     34using namespace JSC;
    3335
    3436class Recompiler {
     
    8284        m_sourceProviders.add(executable->source().provider(), exec);
    8385}
     86
     87} // namespace
     88
     89namespace JSC {
    8490
    8591Debugger::~Debugger()
Note: See TracChangeset for help on using the changeset viewer.