Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(87)

Side by Side Diff: src/arm/regexp-macro-assembler-arm.cc

Issue 1582004: C++ profiles processor: wire up to VM. (Closed)
Patch Set: Created 10 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/builtins.cc » ('j') | src/platform-linux.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 782 matching lines...) Expand 10 before | Expand all | Expand 10 after
793 __ mov(r0, Operand(EXCEPTION)); 793 __ mov(r0, Operand(EXCEPTION));
794 __ jmp(&exit_label_); 794 __ jmp(&exit_label_);
795 } 795 }
796 796
797 CodeDesc code_desc; 797 CodeDesc code_desc;
798 masm_->GetCode(&code_desc); 798 masm_->GetCode(&code_desc);
799 Handle<Code> code = Factory::NewCode(code_desc, 799 Handle<Code> code = Factory::NewCode(code_desc,
800 NULL, 800 NULL,
801 Code::ComputeFlags(Code::REGEXP), 801 Code::ComputeFlags(Code::REGEXP),
802 masm_->CodeObject()); 802 masm_->CodeObject());
803 LOG(RegExpCodeCreateEvent(*code, *source)); 803 PROFILE(RegExpCodeCreateEvent(*code, *source));
804 return Handle<Object>::cast(code); 804 return Handle<Object>::cast(code);
805 } 805 }
806 806
807 807
808 void RegExpMacroAssemblerARM::GoTo(Label* to) { 808 void RegExpMacroAssemblerARM::GoTo(Label* to) {
809 BranchOrBacktrack(al, to); 809 BranchOrBacktrack(al, to);
810 } 810 }
811 811
812 812
813 void RegExpMacroAssemblerARM::IfRegisterGE(int reg, 813 void RegExpMacroAssemblerARM::IfRegisterGE(int reg,
(...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after
1261 __ mov(r0, sp); 1261 __ mov(r0, sp);
1262 __ Call(r5); 1262 __ Call(r5);
1263 __ ldr(pc, MemOperand(sp, stack_alignment, PostIndex)); 1263 __ ldr(pc, MemOperand(sp, stack_alignment, PostIndex));
1264 } 1264 }
1265 1265
1266 #undef __ 1266 #undef __
1267 1267
1268 #endif // V8_NATIVE_REGEXP 1268 #endif // V8_NATIVE_REGEXP
1269 1269
1270 }} // namespace v8::internal 1270 }} // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/builtins.cc » ('j') | src/platform-linux.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698