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

Side by Side Diff: src/x87/code-stubs-x87.cc

Issue 1009373002: Remove BLACKLIST from check-name-clashes.py, it's wrong nowadays. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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/x64/code-stubs-x64.cc ('k') | tools/check-name-clashes.py » ('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 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_X87 7 #if V8_TARGET_ARCH_X87
8 8
9 #include "src/base/bits.h" 9 #include "src/base/bits.h"
10 #include "src/bootstrapper.h" 10 #include "src/bootstrapper.h"
(...skipping 901 matching lines...) Expand 10 before | Expand all | Expand 10 after
912 __ lea(edi, FieldOperand(edi, edx, times_1, Code::kHeaderSize)); 912 __ lea(edi, FieldOperand(edi, edx, times_1, Code::kHeaderSize));
913 __ jmp(edi); 913 __ jmp(edi);
914 } 914 }
915 915
916 916
917 void RegExpExecStub::Generate(MacroAssembler* masm) { 917 void RegExpExecStub::Generate(MacroAssembler* masm) {
918 // Just jump directly to runtime if native RegExp is not selected at compile 918 // Just jump directly to runtime if native RegExp is not selected at compile
919 // time or if regexp entry in generated code is turned off runtime switch or 919 // time or if regexp entry in generated code is turned off runtime switch or
920 // at compilation. 920 // at compilation.
921 #ifdef V8_INTERPRETED_REGEXP 921 #ifdef V8_INTERPRETED_REGEXP
922 __ TailCallRuntime(Runtime::kRegExpExecRT, 4, 1); 922 __ TailCallRuntime(Runtime::kRegExpExec, 4, 1);
923 #else // V8_INTERPRETED_REGEXP 923 #else // V8_INTERPRETED_REGEXP
924 924
925 // Stack frame on entry. 925 // Stack frame on entry.
926 // esp[0]: return address 926 // esp[0]: return address
927 // esp[4]: last_match_info (expected JSArray) 927 // esp[4]: last_match_info (expected JSArray)
928 // esp[8]: previous index 928 // esp[8]: previous index
929 // esp[12]: subject string 929 // esp[12]: subject string
930 // esp[16]: JSRegExp object 930 // esp[16]: JSRegExp object
931 931
932 static const int kLastMatchInfoOffset = 1 * kPointerSize; 932 static const int kLastMatchInfoOffset = 1 * kPointerSize;
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
1277 edi); 1277 edi);
1278 __ jmp(&next_capture); 1278 __ jmp(&next_capture);
1279 __ bind(&done); 1279 __ bind(&done);
1280 1280
1281 // Return last match info. 1281 // Return last match info.
1282 __ mov(eax, Operand(esp, kLastMatchInfoOffset)); 1282 __ mov(eax, Operand(esp, kLastMatchInfoOffset));
1283 __ ret(4 * kPointerSize); 1283 __ ret(4 * kPointerSize);
1284 1284
1285 // Do the runtime call to execute the regexp. 1285 // Do the runtime call to execute the regexp.
1286 __ bind(&runtime); 1286 __ bind(&runtime);
1287 __ TailCallRuntime(Runtime::kRegExpExecRT, 4, 1); 1287 __ TailCallRuntime(Runtime::kRegExpExec, 4, 1);
1288 1288
1289 // Deferred code for string handling. 1289 // Deferred code for string handling.
1290 // (7) Not a long external string? If yes, go to (10). 1290 // (7) Not a long external string? If yes, go to (10).
1291 __ bind(&not_seq_nor_cons); 1291 __ bind(&not_seq_nor_cons);
1292 // Compare flags are still set from (3). 1292 // Compare flags are still set from (3).
1293 __ j(greater, &not_long_external, Label::kNear); // Go to (10). 1293 __ j(greater, &not_long_external, Label::kNear); // Go to (10).
1294 1294
1295 // (8) External string. Short external strings have been ruled out. 1295 // (8) External string. Short external strings have been ruled out.
1296 __ bind(&external_string); 1296 __ bind(&external_string);
1297 // Reload instance type. 1297 // Reload instance type.
(...skipping 3549 matching lines...) Expand 10 before | Expand all | Expand 10 after
4847 ApiParameterOperand(2), kStackSpace, nullptr, 4847 ApiParameterOperand(2), kStackSpace, nullptr,
4848 Operand(ebp, 7 * kPointerSize), NULL); 4848 Operand(ebp, 7 * kPointerSize), NULL);
4849 } 4849 }
4850 4850
4851 4851
4852 #undef __ 4852 #undef __
4853 4853
4854 } } // namespace v8::internal 4854 } } // namespace v8::internal
4855 4855
4856 #endif // V8_TARGET_ARCH_X87 4856 #endif // V8_TARGET_ARCH_X87
OLDNEW
« no previous file with comments | « src/x64/code-stubs-x64.cc ('k') | tools/check-name-clashes.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698