Ignore:
Timestamp:
Jan 12, 2006, 8:58:46 AM (19 years ago)
Author:
darin
Message:

Reviewed by Geoff.

  • JavaScriptCore.xcodeproj/project.pbxproj: Removed both APPLE_CHANGES and HAVE_CONFIG_H from all targets.
  • README: Removed. This had obsolete information in it and it wasn't clear what to replace it with.
  • kjs/collector.h: Removed an APPLE_CHANGES if around something that's not really platform-specific (although it does use a platform-specific API at the moment).
  • kjs/collector.cpp: Removed a mistaken comment.
  • kjs/grammar.y:
  • kjs/internal.cpp:
  • kjs/object.h:
  • kjs/operations.cpp:
  • kjs/operations.h:
  • kjs/ustring.h: Use APPLE instead of APPLE_CHANGES for code that should be used only on Mac OS X.
  • kjs/interpreter.cpp: Removed APPLE_CHANGES ifdef around the include of the runtime.h header. Even though that header isn't needed at the moment on platforms other than Mac OS X, the conditional stuff should be in the header itself, not in this one client.
  • kjs/math_object.cpp: (MathFuncImp::callAsFunction): Removed some code inside APPLE_CHANGES. I'm pretty sure this code isn't needed on any platform where pow is implemented corrrectly according to the IEEE standard. If it is needed on some, we can add it back with an appropriate #if for the platforms where it is needed.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/interpreter.cpp

    r11962 r12028  
    2424
    2525#include "config.h"
    26 #include "value.h"
    27 #include "object.h"
    28 #include "types.h"
    2926#include "interpreter.h"
    30 #if APPLE_CHANGES
    31 #include "runtime.h"
    32 #endif
    3327
    3428#include <assert.h>
     
    3630#include <stdio.h>
    3731
     32#include "collector.h"
     33#include "context.h"
     34#include "error_object.h"
    3835#include "internal.h"
    39 #include "collector.h"
     36#include "nodes.h"
     37#include "object.h"
    4038#include "operations.h"
    41 #include "error_object.h"
    42 #include "nodes.h"
    43 #include "context.h"
    44 
    45 using namespace KJS;
     39#include "runtime.h"
     40#include "types.h"
     41#include "value.h"
     42
     43namespace KJS {
    4644
    4745// ------------------------------ Context --------------------------------------
     
    367365  return result->interpreter();
    368366}
     367
     368}
Note: See TracChangeset for help on using the changeset viewer.