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

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

Powered by Google App Engine
This is Rietveld 408576698