2008-09-15 Sam Weinig <sam@webkit.org>
Roll out r36462. It broke document.all.
* VM/CTI.cpp:
(JSC::CTI::privateCompileMainPass):
(JSC::CTI::privateCompileSlowCases):
* VM/CTI.h:
* VM/Machine.cpp:
(JSC::Machine::Machine):
(JSC::Machine::cti_op_eq_null):
(JSC::Machine::cti_op_neq_null):
* VM/Machine.h:
(JSC::Machine::isJSString):
* kjs/JSCell.h:
* kjs/JSWrapperObject.h:
* kjs/StringObject.h:
* kjs/StringObjectThatMasqueradesAsUndefined.h:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@36475 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/JavaScriptCore/VM/CTI.h b/JavaScriptCore/VM/CTI.h
index 4066a83..22bbdfc 100644
--- a/JavaScriptCore/VM/CTI.h
+++ b/JavaScriptCore/VM/CTI.h
@@ -244,11 +244,7 @@
static const int repatchOffsetGetByIdStructureID = 19;
static const int repatchOffsetGetByIdBranchToSlowCase = 25;
static const int repatchOffsetGetByIdPropertyMapOffset = 34;
-#if ENABLE(SAMPLING_TOOL)
- static const int repatchOffsetGetByIdSlowCaseCall = 27;
-#else
static const int repatchOffsetGetByIdSlowCaseCall = 17;
-#endif
public:
static void compile(Machine* machine, ExecState* exec, CodeBlock* codeBlock)
@@ -357,6 +353,7 @@
void emitJumpSlowCaseIfIsJSCell(X86Assembler::RegisterID reg, unsigned opcodeIndex);
void emitJumpSlowCaseIfNotJSCell(X86Assembler::RegisterID reg, unsigned opcodeIndex);
+
void emitJumpSlowCaseIfNotImm(X86Assembler::RegisterID, unsigned opcodeIndex);
void emitJumpSlowCaseIfNotImms(X86Assembler::RegisterID, X86Assembler::RegisterID, unsigned opcodeIndex);