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

Side by Side Diff: src/ia32/regexp-macro-assembler-ia32.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
OLDNEW
1 // Copyright 2008-2009 the V8 project authors. All rights reserved. 1 // Copyright 2008-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 814 matching lines...) Expand 10 before | Expand all | Expand 10 after
825 __ mov(eax, EXCEPTION); 825 __ mov(eax, EXCEPTION);
826 __ jmp(&exit_label_); 826 __ jmp(&exit_label_);
827 } 827 }
828 828
829 CodeDesc code_desc; 829 CodeDesc code_desc;
830 masm_->GetCode(&code_desc); 830 masm_->GetCode(&code_desc);
831 Handle<Code> code = Factory::NewCode(code_desc, 831 Handle<Code> code = Factory::NewCode(code_desc,
832 NULL, 832 NULL,
833 Code::ComputeFlags(Code::REGEXP), 833 Code::ComputeFlags(Code::REGEXP),
834 masm_->CodeObject()); 834 masm_->CodeObject());
835 LOG(RegExpCodeCreateEvent(*code, *source)); 835 PROFILE(RegExpCodeCreateEvent(*code, *source));
836 return Handle<Object>::cast(code); 836 return Handle<Object>::cast(code);
837 } 837 }
838 838
839 839
840 void RegExpMacroAssemblerIA32::GoTo(Label* to) { 840 void RegExpMacroAssemblerIA32::GoTo(Label* to) {
841 BranchOrBacktrack(no_condition, to); 841 BranchOrBacktrack(no_condition, to);
842 } 842 }
843 843
844 844
845 void RegExpMacroAssemblerIA32::IfRegisterGE(int reg, 845 void RegExpMacroAssemblerIA32::IfRegisterGE(int reg,
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
1191 } 1191 }
1192 } 1192 }
1193 } 1193 }
1194 1194
1195 1195
1196 #undef __ 1196 #undef __
1197 1197
1198 #endif // V8_NATIVE_REGEXP 1198 #endif // V8_NATIVE_REGEXP
1199 1199
1200 }} // namespace v8::internal 1200 }} // namespace v8::internal
OLDNEW
« no previous file with comments | « src/ia32/assembler-ia32.cc ('k') | src/log.h » ('j') | src/platform-linux.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698