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

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

Issue 1728593002: [Interpreter] Add support for cpu profiler logging. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 4 years, 9 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 | « src/profiler/sampler.cc ('k') | src/regexp/arm64/regexp-macro-assembler-arm64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #if V8_TARGET_ARCH_ARM 5 #if V8_TARGET_ARCH_ARM
6 6
7 #include "src/regexp/arm/regexp-macro-assembler-arm.h" 7 #include "src/regexp/arm/regexp-macro-assembler-arm.h"
8 8
9 #include "src/code-stubs.h" 9 #include "src/code-stubs.h"
10 #include "src/log.h" 10 #include "src/log.h"
(...skipping 873 matching lines...) Expand 10 before | Expand all | Expand 10 after
884 __ bind(&exit_with_exception); 884 __ bind(&exit_with_exception);
885 // Exit with Result EXCEPTION(-1) to signal thrown exception. 885 // Exit with Result EXCEPTION(-1) to signal thrown exception.
886 __ mov(r0, Operand(EXCEPTION)); 886 __ mov(r0, Operand(EXCEPTION));
887 __ jmp(&return_r0); 887 __ jmp(&return_r0);
888 } 888 }
889 889
890 CodeDesc code_desc; 890 CodeDesc code_desc;
891 masm_->GetCode(&code_desc); 891 masm_->GetCode(&code_desc);
892 Handle<Code> code = isolate()->factory()->NewCode( 892 Handle<Code> code = isolate()->factory()->NewCode(
893 code_desc, Code::ComputeFlags(Code::REGEXP), masm_->CodeObject()); 893 code_desc, Code::ComputeFlags(Code::REGEXP), masm_->CodeObject());
894 PROFILE(masm_->isolate(), RegExpCodeCreateEvent(*code, *source)); 894 PROFILE(masm_->isolate(),
895 RegExpCodeCreateEvent(AbstractCode::cast(*code), *source));
895 return Handle<HeapObject>::cast(code); 896 return Handle<HeapObject>::cast(code);
896 } 897 }
897 898
898 899
899 void RegExpMacroAssemblerARM::GoTo(Label* to) { 900 void RegExpMacroAssemblerARM::GoTo(Label* to) {
900 BranchOrBacktrack(al, to); 901 BranchOrBacktrack(al, to);
901 } 902 }
902 903
903 904
904 void RegExpMacroAssemblerARM::IfRegisterGE(int reg, 905 void RegExpMacroAssemblerARM::IfRegisterGE(int reg,
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
1243 1244
1244 1245
1245 #undef __ 1246 #undef __
1246 1247
1247 #endif // V8_INTERPRETED_REGEXP 1248 #endif // V8_INTERPRETED_REGEXP
1248 1249
1249 } // namespace internal 1250 } // namespace internal
1250 } // namespace v8 1251 } // namespace v8
1251 1252
1252 #endif // V8_TARGET_ARCH_ARM 1253 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/profiler/sampler.cc ('k') | src/regexp/arm64/regexp-macro-assembler-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698