Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(49)

Unified Diff: src/x64/assembler-x64.cc

Issue 113334: X64: Added dummy definitions of needed functions. (Closed)
Patch Set: Created 11 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/x64/assembler-x64.cc
diff --git a/src/x64/assembler-x64.cc b/src/x64/assembler-x64.cc
index 6e2c42a128ddb97bc2c634d9420561e37bb10db8..1fa8902213846ad8b5b6c5ca06591372e1fe1798 100644
--- a/src/x64/assembler-x64.cc
+++ b/src/x64/assembler-x64.cc
@@ -33,4 +33,551 @@ namespace v8 { namespace internal {
Register no_reg = { -1 };
+
} } // namespace v8::internal
+
+
+// TODO(x64): Implement and move these to their correct cc-files:
+#include "assembler.h"
+#include "ast.h"
+#include "bootstrapper.h"
+#include "codegen-inl.h"
+#include "cpu.h"
+#include "debug.h"
+#include "disasm.h"
+#include "disassembler.h"
+#include "frames-inl.h"
+#include "x64/macro-assembler-x64.h"
+#include "x64/regexp-macro-assembler-x64.h"
+#include "ic-inl.h"
+#include "log.h"
+#include "macro-assembler.h"
+#include "parser.h"
+#include "regexp-macro-assembler.h"
+#include "regexp-stack.h"
+#include "register-allocator-inl.h"
+#include "register-allocator.h"
+#include "runtime.h"
+#include "scopes.h"
+#include "serialize.h"
+#include "stub-cache.h"
+#include "unicode.h"
+
+namespace v8 { namespace internal {
+
+void ArgumentsAccessStub::GenerateNewObject(MacroAssembler* a) {
+ UNIMPLEMENTED();
+ USE(a);
+}
+void ArgumentsAccessStub::GenerateReadElement(MacroAssembler* a) {
+ UNIMPLEMENTED();
+ USE(a);
+}
+void ArgumentsAccessStub::GenerateReadLength(MacroAssembler* a) {
+ UNIMPLEMENTED();
+ USE(a);
+}
+Assembler::Assembler(void* a, int b) {
+ UNIMPLEMENTED();
+ USE(a);
+ USE(b);
+}
+
+void Assembler::GetCode(CodeDesc* a) {
+ UNIMPLEMENTED();
+ USE(a);
+}
+void Assembler::RecordComment(char const* a) {
+ UNIMPLEMENTED();
+ USE(a);
+}
+void Assembler::RecordPosition(int a) {
+ UNIMPLEMENTED();
+ USE(a);
+}
+void Assembler::RecordStatementPosition(int a) {
+ UNIMPLEMENTED();
+ USE(a);
+}
+void Assembler::bind(Label* a) {
+ UNIMPLEMENTED();
+ USE(a);
+}
+Assembler::~Assembler() {
+ UNIMPLEMENTED();
+}
+void BreakLocationIterator::ClearDebugBreakAtReturn() {
+ UNIMPLEMENTED();
+}
+bool BreakLocationIterator::IsDebugBreakAtReturn() {
+ UNIMPLEMENTED();
+ return false;
+}
+void BreakLocationIterator::SetDebugBreakAtReturn() {
+ UNIMPLEMENTED();
+}
+void CEntryStub::GenerateBody(MacroAssembler* a, bool b) {
+ UNIMPLEMENTED();
+ USE(a);
+ USE(b);
+}
+void CallIC::Generate(MacroAssembler* a, int b, ExternalReference const& c) {
+ UNIMPLEMENTED();
+ USE(a);
+ USE(b);
+ USE(c);
+}
+void CallIC::GenerateMegamorphic(MacroAssembler* a, int b) {
+ UNIMPLEMENTED();
+ USE(a);
+ USE(b);
+}
+void CallIC::GenerateNormal(MacroAssembler* a, int b) {
+ UNIMPLEMENTED();
+ USE(a);
+ USE(b);
+}
+Object* CallStubCompiler::CompileCallConstant(Object* a,
+ JSObject* b,
+ JSFunction* c,
+ StubCompiler::CheckType d) {
+ UNIMPLEMENTED();
+ USE(a);
+ USE(b);
+ USE(c);
+ USE(d);
+ return NULL;
+}
+Object* CallStubCompiler::CompileCallField(Object* a,
+ JSObject* b,
+ int c,
+ String* d) {
+ UNIMPLEMENTED();
+ USE(a);
+ USE(b);
+ USE(c);
+ USE(d);
+ return NULL;
+}
+Object* CallStubCompiler::CompileCallInterceptor(Object* a,
+ JSObject* b,
+ String* c) {
+ UNIMPLEMENTED();
+ USE(a);
+ USE(a);
+ USE(a);
Dean McNamee 2009/05/13 12:33:09 this is wrong.
+ return NULL;
+}
+CodeGenerator::CodeGenerator(int buffer_size,
+ Handle<Script> script,
+ bool is_eval)
+ : is_eval_(is_eval),
+ script_(script),
+ deferred_(8),
+ masm_(new MacroAssembler(NULL, buffer_size)),
+ scope_(NULL),
+ frame_(NULL),
+ allocator_(NULL),
+ state_(NULL),
+ loop_nesting_(0),
+ function_return_is_shadowed_(false),
+ in_spilled_code_(false) {
+ UNIMPLEMENTED();
+}
+void CodeGenerator::DeclareGlobals(Handle<FixedArray> a) {
+ UNIMPLEMENTED();
+ USE(a);
+}
+void CodeGenerator::GenCode(FunctionLiteral* a) {
+ UNIMPLEMENTED();
+ USE(a);
+}
+void CodeGenerator::GenerateFastCaseSwitchJumpTable(SwitchStatement* a,
+ int b,
+ int c,
+ Label* d,
+ Vector<Label*> e,
+ Vector<Label> f) {
+ UNIMPLEMENTED();
+ USE(a);
+ USE(b);
+ USE(c);
+ USE(d);
+ USE(e);
+ USE(f);
+}
+void CpuFeatures::Probe() {
+ UNIMPLEMENTED();
+}
+void Debug::GenerateCallICDebugBreak(MacroAssembler* a) {
+ UNIMPLEMENTED();
+ USE(a);
+}
+void Debug::GenerateConstructCallDebugBreak(MacroAssembler* a) {
+ UNIMPLEMENTED();
+ USE(a);
+}
+void Debug::GenerateKeyedLoadICDebugBreak(MacroAssembler* a) {
+ UNIMPLEMENTED();
+ USE(a);
+}
+void Debug::GenerateKeyedStoreICDebugBreak(MacroAssembler* a) {
+ UNIMPLEMENTED();
+ USE(a);
+}
+void Debug::GenerateLoadICDebugBreak(MacroAssembler* a) {
+ UNIMPLEMENTED();
+ USE(a);
+}
+void Debug::GenerateReturnDebugBreak(MacroAssembler* a) {
+ UNIMPLEMENTED();
+ USE(a);
+}
+void Debug::GenerateReturnDebugBreakEntry(MacroAssembler* a) {
+ UNIMPLEMENTED();
+ USE(a);
+}
+void Debug::GenerateStoreICDebugBreak(MacroAssembler* a) {
+ UNIMPLEMENTED();
+ USE(a);
+}
+void Debug::GenerateStubNoRegistersDebugBreak(MacroAssembler* a) {
+ UNIMPLEMENTED();
+ USE(a);
+}
+StackFrame::Type ExitFrame::GetStateForFramePointer(unsigned char* a,
+ StackFrame::State* b) {
+ UNIMPLEMENTED();
+ USE(a);
+ USE(a);
Dean McNamee 2009/05/13 12:33:09 wrong
+ return NONE;
+}
+void JSEntryStub::GenerateBody(MacroAssembler* a, bool b) {
+ UNIMPLEMENTED();
+ USE(a);
+ USE(b);
+}
+int JavaScriptFrame::GetProvidedParametersCount() const {
+ UNIMPLEMENTED();
+ return 0;
+}
+void JumpTarget::DoBind(int a) {
+ UNIMPLEMENTED();
+ USE(a);
+}
+void JumpTarget::DoBranch(Condition a, Hint b) {
+ UNIMPLEMENTED();
+ USE(a);
+ USE(b);
+}
+void JumpTarget::DoJump() {
+ UNIMPLEMENTED();
+}
+void KeyedLoadIC::ClearInlinedVersion(unsigned char* a) {
+ UNIMPLEMENTED();
+ USE(a);
+}
+void KeyedLoadIC::Generate(MacroAssembler* a, ExternalReference const& b) {
+ UNIMPLEMENTED();
+ USE(a);
+ USE(b);
+}
+void KeyedLoadIC::GenerateGeneric(MacroAssembler* a) {
+ UNIMPLEMENTED();
+ USE(a);
+}
+void KeyedLoadIC::GenerateMiss(MacroAssembler* a) {
+ UNIMPLEMENTED();
+ USE(a);
+}
+bool KeyedLoadIC::PatchInlinedLoad(unsigned char* a, Object* b) {
+ UNIMPLEMENTED();
+ USE(a);
+ USE(b);
+ return false;
+}
+Object* KeyedLoadStubCompiler::CompileLoadArrayLength(String* a) {
+ UNIMPLEMENTED();
+ USE(a);
+ return NULL;
+}
+Object* KeyedLoadStubCompiler::CompileLoadCallback(String* a,
+ JSObject* b,
+ JSObject* c,
+ AccessorInfo* d) {
+ UNIMPLEMENTED();
+ USE(a);
+ USE(b);
+ USE(c);
+ USE(d);
+ return NULL;
+}
+Object* KeyedLoadStubCompiler::CompileLoadConstant(String* a,
+ JSObject* b,
+ JSObject* c,
+ Object* d) {
+ UNIMPLEMENTED();
+ USE(a);
+ USE(b);
+ USE(c);
+ USE(d);
+ return NULL;
+}
+Object* KeyedLoadStubCompiler::CompileLoadField(String* a,
+ JSObject* b,
+ JSObject* c,
+ int d) {
+ UNIMPLEMENTED();
+ USE(a);
+ USE(b);
+ USE(c);
+ USE(d);
+ return NULL;
+}
+Object* KeyedLoadStubCompiler::CompileLoadFunctionPrototype(String* a) {
+ UNIMPLEMENTED();
+ USE(a);
+ return NULL;
+}
+Object* KeyedLoadStubCompiler::CompileLoadInterceptor(JSObject* a,
+ JSObject* b,
+ String* c) {
+ UNIMPLEMENTED();
+ USE(a);
+ USE(b);
+ USE(c);
+ return NULL;
+}
+Object* KeyedLoadStubCompiler::CompileLoadStringLength(String* a) {
+ UNIMPLEMENTED();
+ USE(a);
+ return NULL;
+}
+void KeyedStoreIC::Generate(MacroAssembler* a, ExternalReference const& b) {
+ UNIMPLEMENTED();
+ USE(a);
+ USE(b);
+}
+void KeyedStoreIC::GenerateExtendStorage(MacroAssembler* a) {
+ UNIMPLEMENTED();
+ USE(a);
+}
+void KeyedStoreIC::GenerateGeneric(MacroAssembler*a) {
+ UNIMPLEMENTED();
+ USE(a);
+}
+Object* KeyedStoreStubCompiler::CompileStoreField(JSObject* a,
+ int b,
+ Map* c,
+ String* d) {
+ UNIMPLEMENTED();
+ USE(a);
+ USE(b);
+ USE(c);
+ USE(d);
+ return NULL;
+}
+void LoadIC::ClearInlinedVersion(unsigned char* a) {
+ UNIMPLEMENTED();
+ USE(a);
+}
+void LoadIC::Generate(MacroAssembler* a, ExternalReference const& b) {
+ UNIMPLEMENTED();
+ USE(a);
+ USE(b);
+}
+void LoadIC::GenerateArrayLength(MacroAssembler* a) {
+ UNIMPLEMENTED();
+ USE(a);
+}
+void LoadIC::GenerateFunctionPrototype(MacroAssembler* a) {
+ UNIMPLEMENTED();
+ USE(a);
+}
+void LoadIC::GenerateMegamorphic(MacroAssembler* a) {
+ UNIMPLEMENTED();
+ USE(a);
+}
+void LoadIC::GenerateMiss(MacroAssembler* a) {
+ UNIMPLEMENTED();
+ USE(a);
+}
+void LoadIC::GenerateNormal(MacroAssembler* a) {
+ UNIMPLEMENTED();
+ USE(a);
+}
+void LoadIC::GenerateStringLength(MacroAssembler* a) {
+ UNIMPLEMENTED();
+ USE(a);
+}
+bool LoadIC::PatchInlinedLoad(unsigned char* a, Object* b, int c) {
+ UNIMPLEMENTED();
+ USE(a);
+ USE(b);
+ USE(c);
+ return false;
+}
+Object* LoadStubCompiler::CompileLoadCallback(JSObject* a,
+ JSObject* b,
+ AccessorInfo* c,
+ String* d) {
+ UNIMPLEMENTED();
+ USE(a);
+ USE(b);
+ USE(c);
+ USE(d);
+ return NULL;
+}
+Object* LoadStubCompiler::CompileLoadConstant(JSObject* a,
+ JSObject* b,
+ Object* c,
+ String* d) {
+ UNIMPLEMENTED();
+ USE(a);
+ USE(b);
+ USE(c);
+ USE(d);
+ return NULL;
+}
+Object* LoadStubCompiler::CompileLoadField(JSObject* a,
+ JSObject* b,
+ int c,
+ String* d) {
+ UNIMPLEMENTED();
+ USE(a);
+ USE(b);
+ USE(c);
+ USE(d);
+ return NULL;
+}
+Object* LoadStubCompiler::CompileLoadInterceptor(JSObject* a,
+ JSObject* b,
+ String* c) {
+ UNIMPLEMENTED();
+ USE(a);
+ USE(b);
+ USE(c);
+ return NULL;
+}
+MacroAssembler::MacroAssembler(void* buffer, int size)
+ : Assembler(buffer, size),
+ unresolved_(0),
+ generating_stub_(false),
+ allow_stub_calls_(true),
+ code_object_(Heap::undefined_value()) {
+ UNIMPLEMENTED();
+}
+void MacroAssembler::TailCallRuntime(ExternalReference const& a, int b) {
+ UNIMPLEMENTED();
+ USE(a);
+ USE(b);
+}
+bool RegisterAllocator::IsReserved(int a) {
+ UNIMPLEMENTED();
+ USE(a);
+ return false;
+}
+RegisterFile RegisterAllocator::Reserved() {
+ UNIMPLEMENTED();
+ return RegisterFile();
+}
+const int RelocInfo::kApplyMask = -1;
+StackFrame::Type StackFrame::ComputeType(StackFrame::State* a) {
+ UNIMPLEMENTED();
+ USE(a);
+ return NONE;
+}
+void StoreIC::Generate(MacroAssembler* a, ExternalReference const& b) {
+ UNIMPLEMENTED();
+ USE(a);
+ USE(b);
+}
+void StoreIC::GenerateExtendStorage(MacroAssembler* a) {
+ UNIMPLEMENTED();
+ USE(a);
+}
+void StoreIC::GenerateMegamorphic(MacroAssembler* a) {
+ UNIMPLEMENTED();
+ USE(a);
+}
+Object* StoreStubCompiler::CompileStoreCallback(JSObject* a,
+ AccessorInfo* b,
+ String* c) {
+ UNIMPLEMENTED();
+ USE(a);
+ USE(b);
+ USE(c);
+ return NULL;
+}
+Object* StoreStubCompiler::CompileStoreField(JSObject* a,
+ int b,
+ Map* c,
+ String* d) {
+ UNIMPLEMENTED();
+ USE(a);
+ USE(b);
+ USE(c);
+ USE(d);
+ return NULL;
+}
+Object* StoreStubCompiler::CompileStoreInterceptor(JSObject* a, String* b) {
+ UNIMPLEMENTED();
+ USE(a);
+ USE(b);
+ return NULL;
+}
+Object* StubCompiler::CompileLazyCompile(Code::Flags a) {
+ UNIMPLEMENTED();
+ USE(a);
+ return NULL;
+}
+void VirtualFrame::Drop(int a) {
+ UNIMPLEMENTED();
+ USE(a);
+}
+int VirtualFrame::InvalidateFrameSlotAt(int a) {
+ UNIMPLEMENTED();
+ USE(a);
+ return -1;
+}
+void VirtualFrame::MergeTo(VirtualFrame* a) {
+ UNIMPLEMENTED();
+ USE(a);
+}
+Result VirtualFrame::Pop() {
+ UNIMPLEMENTED();
+ return Result(NULL);
+}
+Result VirtualFrame::RawCallStub(CodeStub* a) {
+ UNIMPLEMENTED();
+ USE(a);
+ return Result(NULL);
+}
+void VirtualFrame::SyncElementBelowStackPointer(int a) {
+ UNIMPLEMENTED();
+ USE(a);
+}
+void VirtualFrame::SyncElementByPushing(int a) {
+ UNIMPLEMENTED();
+ USE(a);
+}
+
+void VirtualFrame::SyncRange(int a, int b) {
+ UNIMPLEMENTED();
+ USE(a);
+ USE(b);
+}
+
+VirtualFrame::VirtualFrame(CodeGenerator* cgen)
+ : cgen_(cgen),
+ masm_(NULL),
+ elements_(0),
+ parameter_count_(0),
+ local_count_(0),
+ stack_pointer_(0),
+ frame_pointer_(kIllegalIndex) {
+ UNIMPLEMENTED();
+}
+
+} } // namespace v8::internal
+
Dean McNamee 2009/05/13 12:33:09 tailing line :)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698