| 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 1658 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1669   // Thumb mode builtin. | 1669   // Thumb mode builtin. | 
| 1670   ASSERT((reinterpret_cast<intptr_t>(builtin.address()) & 1) == 1); | 1670   ASSERT((reinterpret_cast<intptr_t>(builtin.address()) & 1) == 1); | 
| 1671 #endif | 1671 #endif | 
| 1672   mov(r1, Operand(builtin)); | 1672   mov(r1, Operand(builtin)); | 
| 1673   CEntryStub stub(1); | 1673   CEntryStub stub(1); | 
| 1674   Jump(stub.GetCode(), RelocInfo::CODE_TARGET); | 1674   Jump(stub.GetCode(), RelocInfo::CODE_TARGET); | 
| 1675 } | 1675 } | 
| 1676 | 1676 | 
| 1677 | 1677 | 
| 1678 void MacroAssembler::InvokeBuiltin(Builtins::JavaScript id, | 1678 void MacroAssembler::InvokeBuiltin(Builtins::JavaScript id, | 
| 1679                                    InvokeJSFlags flags) { | 1679                                    InvokeJSFlags flags, | 
|  | 1680                                    PostCallGenerator* post_call_generator) { | 
| 1680   GetBuiltinEntry(r2, id); | 1681   GetBuiltinEntry(r2, id); | 
| 1681   if (flags == CALL_JS) { | 1682   if (flags == CALL_JS) { | 
| 1682     Call(r2); | 1683     Call(r2); | 
|  | 1684     if (post_call_generator != NULL) post_call_generator->Generate(); | 
| 1683   } else { | 1685   } else { | 
| 1684     ASSERT(flags == JUMP_JS); | 1686     ASSERT(flags == JUMP_JS); | 
| 1685     Jump(r2); | 1687     Jump(r2); | 
| 1686   } | 1688   } | 
| 1687 } | 1689 } | 
| 1688 | 1690 | 
| 1689 | 1691 | 
| 1690 void MacroAssembler::GetBuiltinFunction(Register target, | 1692 void MacroAssembler::GetBuiltinFunction(Register target, | 
| 1691                                         Builtins::JavaScript id) { | 1693                                         Builtins::JavaScript id) { | 
| 1692   // Load the builtins object into target register. | 1694   // Load the builtins object into target register. | 
| (...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2152 | 2154 | 
| 2153 void CodePatcher::Emit(Address addr) { | 2155 void CodePatcher::Emit(Address addr) { | 
| 2154   masm()->emit(reinterpret_cast<Instr>(addr)); | 2156   masm()->emit(reinterpret_cast<Instr>(addr)); | 
| 2155 } | 2157 } | 
| 2156 #endif  // ENABLE_DEBUGGER_SUPPORT | 2158 #endif  // ENABLE_DEBUGGER_SUPPORT | 
| 2157 | 2159 | 
| 2158 | 2160 | 
| 2159 } }  // namespace v8::internal | 2161 } }  // namespace v8::internal | 
| 2160 | 2162 | 
| 2161 #endif  // V8_TARGET_ARCH_ARM | 2163 #endif  // V8_TARGET_ARCH_ARM | 
| OLD | NEW | 
|---|