Ignore:
Timestamp:
May 24, 2010, 5:44:17 PM (15 years ago)
Author:
[email protected]
Message:

Reverting 60075 & 60084, these broke the interpreter.

Reviewed by NOBODY (revert).

  • bytecode/CodeBlock.cpp:

(JSC::CodeBlock::dump):
(JSC::CodeBlock::getByIdExceptionInfoForBytecodeOffset):

  • bytecode/CodeBlock.h:
  • bytecode/Opcode.h:
  • bytecompiler/BytecodeGenerator.cpp:

(JSC::BytecodeGenerator::BytecodeGenerator):
(JSC::BytecodeGenerator::emitConstruct):

  • bytecompiler/BytecodeGenerator.h:

(JSC::BytecodeGenerator::emitGetByIdExceptionInfo):

  • interpreter/Interpreter.cpp:

(JSC::Interpreter::privateExecute):

  • jit/JIT.cpp:

(JSC::JIT::privateCompileMainPass):

  • jit/JIT.h:
  • jit/JITCall.cpp:

(JSC::JIT::compileOpConstructSetupArgs):
(JSC::JIT::compileOpCall):
(JSC::JIT::compileOpCallSlowCase):

  • jit/JITCall32_64.cpp:

(JSC::JIT::compileOpConstructSetupArgs):
(JSC::JIT::compileOpCall):
(JSC::JIT::compileOpCallSlowCase):

  • jit/JITOpcodes.cpp:

(JSC::JIT::privateCompileCTIMachineTrampolines):
(JSC::JIT::emit_op_neq_null):
(JSC::JIT::emit_op_convert_this):

  • jit/JITOpcodes32_64.cpp:

(JSC::JIT::privateCompileCTIMachineTrampolines):

  • jit/JITStubs.cpp:

(JSC::DEFINE_STUB_FUNCTION):
(JSC::JITThunks::hostFunctionStub):

  • jit/JITStubs.h:

(JSC::JITThunks::ctiNativeCall):
(JSC::):

  • runtime/ExceptionHelpers.cpp:

(JSC::createNotAnObjectError):

  • runtime/Executable.h:

(JSC::NativeExecutable::create):
(JSC::NativeExecutable::NativeExecutable):

  • runtime/JSFunction.cpp:
  • runtime/JSFunction.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/runtime/JSFunction.cpp

    r60075 r60105  
    2929#include "CommonIdentifiers.h"
    3030#include "CallFrame.h"
    31 #include "ExceptionHelpers.h"
    3231#include "FunctionPrototype.h"
    3332#include "JSGlobalObject.h"
     
    4241
    4342namespace JSC {
    44 
    45 JSValue JSC_HOST_CALL callHostFunctionAsConstructor(ExecState* exec, JSObject* constructor, JSValue, const ArgList&)
    46 {
    47     CodeBlock* codeBlock = exec->callerFrame()->codeBlock();
    48     unsigned vPCIndex = codeBlock->bytecodeOffset(exec, exec->returnPC());
    49     exec->setException(createNotAConstructorError(exec, constructor, vPCIndex, codeBlock));
    50     return JSValue();
    51 }
    5243
    5344ASSERT_CLASS_FITS_IN_CELL(JSFunction);
Note: See TracChangeset for help on using the changeset viewer.