| 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 790 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 801 // Exit with Result EXCEPTION(-1) to signal thrown exception. | 801 // Exit with Result EXCEPTION(-1) to signal thrown exception. |
| 802 __ mov(r0, Operand(EXCEPTION)); | 802 __ mov(r0, Operand(EXCEPTION)); |
| 803 __ jmp(&exit_label_); | 803 __ jmp(&exit_label_); |
| 804 } | 804 } |
| 805 | 805 |
| 806 CodeDesc code_desc; | 806 CodeDesc code_desc; |
| 807 masm_->GetCode(&code_desc); | 807 masm_->GetCode(&code_desc); |
| 808 Handle<Code> code = FACTORY->NewCode(code_desc, | 808 Handle<Code> code = FACTORY->NewCode(code_desc, |
| 809 Code::ComputeFlags(Code::REGEXP), | 809 Code::ComputeFlags(Code::REGEXP), |
| 810 masm_->CodeObject()); | 810 masm_->CodeObject()); |
| 811 PROFILE(RegExpCodeCreateEvent(*code, *source)); | 811 PROFILE(Isolate::Current(), RegExpCodeCreateEvent(*code, *source)); |
| 812 return Handle<Object>::cast(code); | 812 return Handle<Object>::cast(code); |
| 813 } | 813 } |
| 814 | 814 |
| 815 | 815 |
| 816 void RegExpMacroAssemblerARM::GoTo(Label* to) { | 816 void RegExpMacroAssemblerARM::GoTo(Label* to) { |
| 817 BranchOrBacktrack(al, to); | 817 BranchOrBacktrack(al, to); |
| 818 } | 818 } |
| 819 | 819 |
| 820 | 820 |
| 821 void RegExpMacroAssemblerARM::IfRegisterGE(int reg, | 821 void RegExpMacroAssemblerARM::IfRegisterGE(int reg, |
| (...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1274 __ ldr(pc, MemOperand(sp, stack_alignment, PostIndex)); | 1274 __ ldr(pc, MemOperand(sp, stack_alignment, PostIndex)); |
| 1275 } | 1275 } |
| 1276 | 1276 |
| 1277 #undef __ | 1277 #undef __ |
| 1278 | 1278 |
| 1279 #endif // V8_INTERPRETED_REGEXP | 1279 #endif // V8_INTERPRETED_REGEXP |
| 1280 | 1280 |
| 1281 }} // namespace v8::internal | 1281 }} // namespace v8::internal |
| 1282 | 1282 |
| 1283 #endif // V8_TARGET_ARCH_ARM | 1283 #endif // V8_TARGET_ARCH_ARM |
| OLD | NEW |