OLD | NEW |
1 // Copyright 2009 the V8 project authors. All rights reserved. | 1 // Copyright 2009 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 26 matching lines...) Expand all Loading... |
37 namespace internal { | 37 namespace internal { |
38 | 38 |
39 #define __ ACCESS_MASM((&masm_)) | 39 #define __ ACCESS_MASM((&masm_)) |
40 | 40 |
41 | 41 |
42 Object* CallStubCompiler::CompileCallConstant(Object* a, | 42 Object* CallStubCompiler::CompileCallConstant(Object* a, |
43 JSObject* b, | 43 JSObject* b, |
44 JSFunction* c, | 44 JSFunction* c, |
45 String* d, | 45 String* d, |
46 StubCompiler::CheckType e) { | 46 StubCompiler::CheckType e) { |
47 UNIMPLEMENTED(); | 47 // TODO(X64): Implement a real stub. |
48 return NULL; | 48 return Failure::InternalError(); |
49 } | 49 } |
50 | 50 |
51 Object* CallStubCompiler::CompileCallField(Object* a, | 51 Object* CallStubCompiler::CompileCallField(Object* a, |
52 JSObject* b, | 52 JSObject* b, |
53 int c, | 53 int c, |
54 String* d) { | 54 String* d) { |
55 UNIMPLEMENTED(); | 55 // TODO(X64): Implement a real stub. |
56 return NULL; | 56 return Failure::InternalError(); |
57 } | 57 } |
58 | 58 |
59 | 59 |
60 Object* CallStubCompiler::CompileCallInterceptor(Object* a, | 60 Object* CallStubCompiler::CompileCallInterceptor(Object* a, |
61 JSObject* b, | 61 JSObject* b, |
62 String* c) { | 62 String* c) { |
63 UNIMPLEMENTED(); | 63 // TODO(X64): Implement a real stub. |
64 return NULL; | 64 return Failure::InternalError(); |
65 } | 65 } |
66 | 66 |
67 | 67 |
68 | 68 |
69 Object* CallStubCompiler::CompileCallGlobal(JSObject* object, | 69 Object* CallStubCompiler::CompileCallGlobal(JSObject* object, |
70 GlobalObject* holder, | 70 GlobalObject* holder, |
71 JSGlobalPropertyCell* cell, | 71 JSGlobalPropertyCell* cell, |
72 JSFunction* function, | 72 JSFunction* function, |
73 String* name) { | 73 String* name) { |
74 UNIMPLEMENTED(); | 74 // TODO(X64): Implement a real stub. |
75 return NULL; | 75 return Failure::InternalError(); |
76 } | 76 } |
77 | 77 |
78 | 78 |
79 Object* LoadStubCompiler::CompileLoadCallback(JSObject* a, | 79 Object* LoadStubCompiler::CompileLoadCallback(JSObject* a, |
80 JSObject* b, | 80 JSObject* b, |
81 AccessorInfo* c, | 81 AccessorInfo* c, |
82 String* d) { | 82 String* d) { |
83 UNIMPLEMENTED(); | 83 UNIMPLEMENTED(); |
84 return NULL; | 84 return NULL; |
85 } | 85 } |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 __ lea(rcx, FieldOperand(rax, Code::kHeaderSize)); | 172 __ lea(rcx, FieldOperand(rax, Code::kHeaderSize)); |
173 __ jmp(rcx); | 173 __ jmp(rcx); |
174 | 174 |
175 return GetCodeWithFlags(flags, "LazyCompileStub"); | 175 return GetCodeWithFlags(flags, "LazyCompileStub"); |
176 } | 176 } |
177 | 177 |
178 #undef __ | 178 #undef __ |
179 | 179 |
180 | 180 |
181 } } // namespace v8::internal | 181 } } // namespace v8::internal |
OLD | NEW |