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/ia32/code-stubs-ia32.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/arm64/code-stubs-arm64.cc ('k') | src/math.js » ('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_IA32 7 #if V8_TARGET_ARCH_IA32
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 1220 matching lines...) Expand 10 before | Expand all | Expand 10 after
1231 __ lea(edi, FieldOperand(edi, edx, times_1, Code::kHeaderSize)); 1231 __ lea(edi, FieldOperand(edi, edx, times_1, Code::kHeaderSize));
1232 __ jmp(edi); 1232 __ jmp(edi);
1233 } 1233 }
1234 1234
1235 1235
1236 void RegExpExecStub::Generate(MacroAssembler* masm) { 1236 void RegExpExecStub::Generate(MacroAssembler* masm) {
1237 // Just jump directly to runtime if native RegExp is not selected at compile 1237 // Just jump directly to runtime if native RegExp is not selected at compile
1238 // time or if regexp entry in generated code is turned off runtime switch or 1238 // time or if regexp entry in generated code is turned off runtime switch or
1239 // at compilation. 1239 // at compilation.
1240 #ifdef V8_INTERPRETED_REGEXP 1240 #ifdef V8_INTERPRETED_REGEXP
1241 __ TailCallRuntime(Runtime::kRegExpExecRT, 4, 1); 1241 __ TailCallRuntime(Runtime::kRegExpExec, 4, 1);
1242 #else // V8_INTERPRETED_REGEXP 1242 #else // V8_INTERPRETED_REGEXP
1243 1243
1244 // Stack frame on entry. 1244 // Stack frame on entry.
1245 // esp[0]: return address 1245 // esp[0]: return address
1246 // esp[4]: last_match_info (expected JSArray) 1246 // esp[4]: last_match_info (expected JSArray)
1247 // esp[8]: previous index 1247 // esp[8]: previous index
1248 // esp[12]: subject string 1248 // esp[12]: subject string
1249 // esp[16]: JSRegExp object 1249 // esp[16]: JSRegExp object
1250 1250
1251 static const int kLastMatchInfoOffset = 1 * kPointerSize; 1251 static const int kLastMatchInfoOffset = 1 * kPointerSize;
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
1602 edi); 1602 edi);
1603 __ jmp(&next_capture); 1603 __ jmp(&next_capture);
1604 __ bind(&done); 1604 __ bind(&done);
1605 1605
1606 // Return last match info. 1606 // Return last match info.
1607 __ mov(eax, Operand(esp, kLastMatchInfoOffset)); 1607 __ mov(eax, Operand(esp, kLastMatchInfoOffset));
1608 __ ret(4 * kPointerSize); 1608 __ ret(4 * kPointerSize);
1609 1609
1610 // Do the runtime call to execute the regexp. 1610 // Do the runtime call to execute the regexp.
1611 __ bind(&runtime); 1611 __ bind(&runtime);
1612 __ TailCallRuntime(Runtime::kRegExpExecRT, 4, 1); 1612 __ TailCallRuntime(Runtime::kRegExpExec, 4, 1);
1613 1613
1614 // Deferred code for string handling. 1614 // Deferred code for string handling.
1615 // (7) Not a long external string? If yes, go to (10). 1615 // (7) Not a long external string? If yes, go to (10).
1616 __ bind(&not_seq_nor_cons); 1616 __ bind(&not_seq_nor_cons);
1617 // Compare flags are still set from (3). 1617 // Compare flags are still set from (3).
1618 __ j(greater, &not_long_external, Label::kNear); // Go to (10). 1618 __ j(greater, &not_long_external, Label::kNear); // Go to (10).
1619 1619
1620 // (8) External string. Short external strings have been ruled out. 1620 // (8) External string. Short external strings have been ruled out.
1621 __ bind(&external_string); 1621 __ bind(&external_string);
1622 // Reload instance type. 1622 // Reload instance type.
(...skipping 3561 matching lines...) Expand 10 before | Expand all | Expand 10 after
5184 ApiParameterOperand(2), kStackSpace, nullptr, 5184 ApiParameterOperand(2), kStackSpace, nullptr,
5185 Operand(ebp, 7 * kPointerSize), NULL); 5185 Operand(ebp, 7 * kPointerSize), NULL);
5186 } 5186 }
5187 5187
5188 5188
5189 #undef __ 5189 #undef __
5190 5190
5191 } } // namespace v8::internal 5191 } } // namespace v8::internal
5192 5192
5193 #endif // V8_TARGET_ARCH_IA32 5193 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/arm64/code-stubs-arm64.cc ('k') | src/math.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698