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

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

Issue 350633003: Fix regexp=interpreted build. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « src/x64/code-stubs-x64.cc ('k') | no next file » | 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/bootstrapper.h" 9 #include "src/bootstrapper.h"
10 #include "src/code-stubs.h" 10 #include "src/code-stubs.h"
(...skipping 1013 matching lines...) Expand 10 before | Expand all | Expand 10 after
1024 __ bind(&runtime); 1024 __ bind(&runtime);
1025 __ TailCallRuntime(Runtime::kNewStrictArguments, 3, 1); 1025 __ TailCallRuntime(Runtime::kNewStrictArguments, 3, 1);
1026 } 1026 }
1027 1027
1028 1028
1029 void RegExpExecStub::Generate(MacroAssembler* masm) { 1029 void RegExpExecStub::Generate(MacroAssembler* masm) {
1030 // Just jump directly to runtime if native RegExp is not selected at compile 1030 // Just jump directly to runtime if native RegExp is not selected at compile
1031 // time or if regexp entry in generated code is turned off runtime switch or 1031 // time or if regexp entry in generated code is turned off runtime switch or
1032 // at compilation. 1032 // at compilation.
1033 #ifdef V8_INTERPRETED_REGEXP 1033 #ifdef V8_INTERPRETED_REGEXP
1034 __ TailCallRuntime(Runtime::kRegExpExec, 4, 1); 1034 __ TailCallRuntime(Runtime::kRegExpExecRT, 4, 1);
1035 #else // V8_INTERPRETED_REGEXP 1035 #else // V8_INTERPRETED_REGEXP
1036 1036
1037 // Stack frame on entry. 1037 // Stack frame on entry.
1038 // esp[0]: return address 1038 // esp[0]: return address
1039 // esp[4]: last_match_info (expected JSArray) 1039 // esp[4]: last_match_info (expected JSArray)
1040 // esp[8]: previous index 1040 // esp[8]: previous index
1041 // esp[12]: subject string 1041 // esp[12]: subject string
1042 // esp[16]: JSRegExp object 1042 // esp[16]: JSRegExp object
1043 1043
1044 static const int kLastMatchInfoOffset = 1 * kPointerSize; 1044 static const int kLastMatchInfoOffset = 1 * kPointerSize;
(...skipping 3611 matching lines...) Expand 10 before | Expand all | Expand 10 after
4656 Operand(ebp, 7 * kPointerSize), 4656 Operand(ebp, 7 * kPointerSize),
4657 NULL); 4657 NULL);
4658 } 4658 }
4659 4659
4660 4660
4661 #undef __ 4661 #undef __
4662 4662
4663 } } // namespace v8::internal 4663 } } // namespace v8::internal
4664 4664
4665 #endif // V8_TARGET_ARCH_X87 4665 #endif // V8_TARGET_ARCH_X87
OLDNEW
« no previous file with comments | « src/x64/code-stubs-x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698