| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 1319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1330 } | 1330 } |
| 1331 | 1331 |
| 1332 // Run the native code for the InternalArray function called as a normal | 1332 // Run the native code for the InternalArray function called as a normal |
| 1333 // function. | 1333 // function. |
| 1334 ArrayNativeCode(masm, false, &generic_array_code); | 1334 ArrayNativeCode(masm, false, &generic_array_code); |
| 1335 | 1335 |
| 1336 // Jump to the generic array code in case the specialized code cannot handle | 1336 // Jump to the generic array code in case the specialized code cannot handle |
| 1337 // the construction. | 1337 // the construction. |
| 1338 __ bind(&generic_array_code); | 1338 __ bind(&generic_array_code); |
| 1339 Handle<Code> array_code = | 1339 Handle<Code> array_code = |
| 1340 masm->isolate()->builtins()->ArrayCodeGeneric(); | 1340 masm->isolate()->builtins()->InternalArrayCodeGeneric(); |
| 1341 __ jmp(array_code, RelocInfo::CODE_TARGET); | 1341 __ jmp(array_code, RelocInfo::CODE_TARGET); |
| 1342 } | 1342 } |
| 1343 | 1343 |
| 1344 | 1344 |
| 1345 void Builtins::Generate_ArrayCode(MacroAssembler* masm) { | 1345 void Builtins::Generate_ArrayCode(MacroAssembler* masm) { |
| 1346 // ----------- S t a t e ------------- | 1346 // ----------- S t a t e ------------- |
| 1347 // -- eax : argc | 1347 // -- eax : argc |
| 1348 // -- esp[0] : return address | 1348 // -- esp[0] : return address |
| 1349 // -- esp[4] : last argument | 1349 // -- esp[4] : last argument |
| 1350 // ----------------------------------- | 1350 // ----------------------------------- |
| (...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1723 Deoptimizer::EntryGenerator generator(masm, Deoptimizer::OSR); | 1723 Deoptimizer::EntryGenerator generator(masm, Deoptimizer::OSR); |
| 1724 generator.Generate(); | 1724 generator.Generate(); |
| 1725 } | 1725 } |
| 1726 | 1726 |
| 1727 | 1727 |
| 1728 #undef __ | 1728 #undef __ |
| 1729 } | 1729 } |
| 1730 } // namespace v8::internal | 1730 } // namespace v8::internal |
| 1731 | 1731 |
| 1732 #endif // V8_TARGET_ARCH_IA32 | 1732 #endif // V8_TARGET_ARCH_IA32 |
| OLD | NEW |