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/ia32/regexp-macro-assembler-ia32.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
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_IA32 5 #if V8_TARGET_ARCH_IA32
6 6
7 #include "src/regexp/ia32/regexp-macro-assembler-ia32.h" 7 #include "src/regexp/ia32/regexp-macro-assembler-ia32.h"
8 8
9 #include "src/log.h" 9 #include "src/log.h"
10 #include "src/macro-assembler.h" 10 #include "src/macro-assembler.h"
(...skipping 918 matching lines...) Expand 10 before | Expand all | Expand 10 after
929 __ mov(eax, EXCEPTION); 929 __ mov(eax, EXCEPTION);
930 __ jmp(&return_eax); 930 __ jmp(&return_eax);
931 } 931 }
932 932
933 CodeDesc code_desc; 933 CodeDesc code_desc;
934 masm_->GetCode(&code_desc); 934 masm_->GetCode(&code_desc);
935 Handle<Code> code = 935 Handle<Code> code =
936 isolate()->factory()->NewCode(code_desc, 936 isolate()->factory()->NewCode(code_desc,
937 Code::ComputeFlags(Code::REGEXP), 937 Code::ComputeFlags(Code::REGEXP),
938 masm_->CodeObject()); 938 masm_->CodeObject());
939 PROFILE(isolate(), RegExpCodeCreateEvent(*code, *source)); 939 PROFILE(masm_->isolate(),
940 RegExpCodeCreateEvent(AbstractCode::cast(*code), *source));
940 return Handle<HeapObject>::cast(code); 941 return Handle<HeapObject>::cast(code);
941 } 942 }
942 943
943 944
944 void RegExpMacroAssemblerIA32::GoTo(Label* to) { 945 void RegExpMacroAssemblerIA32::GoTo(Label* to) {
945 BranchOrBacktrack(no_condition, to); 946 BranchOrBacktrack(no_condition, to);
946 } 947 }
947 948
948 949
949 void RegExpMacroAssemblerIA32::IfRegisterGE(int reg, 950 void RegExpMacroAssemblerIA32::IfRegisterGE(int reg,
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
1263 1264
1264 1265
1265 #undef __ 1266 #undef __
1266 1267
1267 #endif // V8_INTERPRETED_REGEXP 1268 #endif // V8_INTERPRETED_REGEXP
1268 1269
1269 } // namespace internal 1270 } // namespace internal
1270 } // namespace v8 1271 } // namespace v8
1271 1272
1272 #endif // V8_TARGET_ARCH_IA32 1273 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/regexp/arm64/regexp-macro-assembler-arm64.cc ('k') | src/regexp/mips/regexp-macro-assembler-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698