| OLD | NEW |
| 1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 1287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1298 __ bind(&miss); | 1298 __ bind(&miss); |
| 1299 | 1299 |
| 1300 Handle<Code> ic = ComputeCallMiss(arguments().immediate()); | 1300 Handle<Code> ic = ComputeCallMiss(arguments().immediate()); |
| 1301 __ jmp(ic, RelocInfo::CODE_TARGET); | 1301 __ jmp(ic, RelocInfo::CODE_TARGET); |
| 1302 | 1302 |
| 1303 // Return the generated code. | 1303 // Return the generated code. |
| 1304 return GetCode(function); | 1304 return GetCode(function); |
| 1305 } | 1305 } |
| 1306 | 1306 |
| 1307 | 1307 |
| 1308 Object* CallStubCompiler::CompileStringCharAtCall(Object* object, |
| 1309 JSObject* holder, |
| 1310 JSFunction* function, |
| 1311 String* name, |
| 1312 CheckType check) { |
| 1313 // TODO(<bug>): implement this. |
| 1314 return Heap::undefined_value(); |
| 1315 } |
| 1316 |
| 1317 |
| 1318 Object* CallStubCompiler::CompileStringCharCodeAtCall(Object* object, |
| 1319 JSObject* holder, |
| 1320 JSFunction* function, |
| 1321 String* name, |
| 1322 CheckType check) { |
| 1323 // TODO(<bug>): implement this. |
| 1324 return Heap::undefined_value(); |
| 1325 } |
| 1326 |
| 1327 |
| 1308 | 1328 |
| 1309 | |
| 1310 Object* CallStubCompiler::CompileCallInterceptor(JSObject* object, | 1329 Object* CallStubCompiler::CompileCallInterceptor(JSObject* object, |
| 1311 JSObject* holder, | 1330 JSObject* holder, |
| 1312 String* name) { | 1331 String* name) { |
| 1313 // ----------- S t a t e ------------- | 1332 // ----------- S t a t e ------------- |
| 1314 // rcx : function name | 1333 // rcx : function name |
| 1315 // rsp[0] : return address | 1334 // rsp[0] : return address |
| 1316 // rsp[8] : argument argc | 1335 // rsp[8] : argument argc |
| 1317 // rsp[16] : argument argc - 1 | 1336 // rsp[16] : argument argc - 1 |
| 1318 // ... | 1337 // ... |
| 1319 // rsp[argc * 8] : argument 1 | 1338 // rsp[argc * 8] : argument 1 |
| (...skipping 1038 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2358 // Return the generated code. | 2377 // Return the generated code. |
| 2359 return GetCode(); | 2378 return GetCode(); |
| 2360 } | 2379 } |
| 2361 | 2380 |
| 2362 | 2381 |
| 2363 #undef __ | 2382 #undef __ |
| 2364 | 2383 |
| 2365 } } // namespace v8::internal | 2384 } } // namespace v8::internal |
| 2366 | 2385 |
| 2367 #endif // V8_TARGET_ARCH_X64 | 2386 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |