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

Side by Side Diff: src/regexp/arm64/regexp-macro-assembler-arm64.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, 10 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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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_ARM64 5 #if V8_TARGET_ARCH_ARM64
6 6
7 #include "src/regexp/arm64/regexp-macro-assembler-arm64.h" 7 #include "src/regexp/arm64/regexp-macro-assembler-arm64.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 1070 matching lines...) Expand 10 before | Expand all | Expand 10 after
1081 if (exit_with_exception.is_linked()) { 1081 if (exit_with_exception.is_linked()) {
1082 __ Bind(&exit_with_exception); 1082 __ Bind(&exit_with_exception);
1083 __ Mov(w0, EXCEPTION); 1083 __ Mov(w0, EXCEPTION);
1084 __ B(&return_w0); 1084 __ B(&return_w0);
1085 } 1085 }
1086 1086
1087 CodeDesc code_desc; 1087 CodeDesc code_desc;
1088 masm_->GetCode(&code_desc); 1088 masm_->GetCode(&code_desc);
1089 Handle<Code> code = isolate()->factory()->NewCode( 1089 Handle<Code> code = isolate()->factory()->NewCode(
1090 code_desc, Code::ComputeFlags(Code::REGEXP), masm_->CodeObject()); 1090 code_desc, Code::ComputeFlags(Code::REGEXP), masm_->CodeObject());
1091 PROFILE(masm_->isolate(), RegExpCodeCreateEvent(*code, *source)); 1091 PROFILE(masm_->isolate(),
1092 RegExpCodeCreateEvent(AbstractCode::cast(*code), *source));
1092 return Handle<HeapObject>::cast(code); 1093 return Handle<HeapObject>::cast(code);
1093 } 1094 }
1094 1095
1095 1096
1096 void RegExpMacroAssemblerARM64::GoTo(Label* to) { 1097 void RegExpMacroAssemblerARM64::GoTo(Label* to) {
1097 BranchOrBacktrack(al, to); 1098 BranchOrBacktrack(al, to);
1098 } 1099 }
1099 1100
1100 void RegExpMacroAssemblerARM64::IfRegisterGE(int reg, int comparand, 1101 void RegExpMacroAssemblerARM64::IfRegisterGE(int reg, int comparand,
1101 Label* if_ge) { 1102 Label* if_ge) {
(...skipping 559 matching lines...) Expand 10 before | Expand all | Expand 10 after
1661 } 1662 }
1662 } 1663 }
1663 } 1664 }
1664 1665
1665 #endif // V8_INTERPRETED_REGEXP 1666 #endif // V8_INTERPRETED_REGEXP
1666 1667
1667 } // namespace internal 1668 } // namespace internal
1668 } // namespace v8 1669 } // namespace v8
1669 1670
1670 #endif // V8_TARGET_ARCH_ARM64 1671 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/regexp/arm/regexp-macro-assembler-arm.cc ('k') | src/regexp/ia32/regexp-macro-assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698