| Index: src/x64/stub-cache-x64.cc
|
| ===================================================================
|
| --- src/x64/stub-cache-x64.cc (revision 2508)
|
| +++ src/x64/stub-cache-x64.cc (working copy)
|
| @@ -311,8 +311,8 @@
|
| JSObject* b,
|
| AccessorInfo* c,
|
| String* d) {
|
| - UNIMPLEMENTED();
|
| - return NULL;
|
| + // TODO(X64): Implement a real stub.
|
| + return Failure::InternalError();
|
| }
|
|
|
|
|
| @@ -320,8 +320,8 @@
|
| JSObject* b,
|
| Object* c,
|
| String* d) {
|
| - UNIMPLEMENTED();
|
| - return NULL;
|
| + // TODO(X64): Implement a real stub.
|
| + return Failure::InternalError();
|
| }
|
|
|
|
|
| @@ -329,16 +329,16 @@
|
| JSObject* b,
|
| int c,
|
| String* d) {
|
| - UNIMPLEMENTED();
|
| - return NULL;
|
| + // TODO(X64): Implement a real stub.
|
| + return Failure::InternalError();
|
| }
|
|
|
|
|
| Object* LoadStubCompiler::CompileLoadInterceptor(JSObject* a,
|
| JSObject* b,
|
| String* c) {
|
| - UNIMPLEMENTED();
|
| - return NULL;
|
| + // TODO(X64): Implement a real stub.
|
| + return Failure::InternalError();
|
| }
|
|
|
|
|
| @@ -347,8 +347,8 @@
|
| JSGlobalPropertyCell* cell,
|
| String* name,
|
| bool is_dont_delete) {
|
| - UNIMPLEMENTED();
|
| - return NULL;
|
| + // TODO(X64): Implement a real stub.
|
| + return Failure::InternalError();
|
| }
|
|
|
|
|
| @@ -488,6 +488,22 @@
|
| }
|
| }
|
|
|
| +
|
| +void StubCache::GenerateProbe(MacroAssembler* masm,
|
| + Code::Flags flags,
|
| + Register receiver,
|
| + Register name,
|
| + Register scratch,
|
| + Register extra) {
|
| + Label miss;
|
| + // TODO(X64): Probe the primary and secondary StubCache tables.
|
| +
|
| + // Cache miss: Fall-through and let caller handle the miss by
|
| + // entering the runtime system.
|
| + __ bind(&miss);
|
| +}
|
| +
|
| +
|
| #undef __
|
|
|
|
|
|
|