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

Side by Side Diff: src/x64/code-stubs-x64.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/mips/code-stubs-mips.cc ('k') | src/x87/code-stubs-x87.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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_X64 7 #if V8_TARGET_ARCH_X64
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 1224 matching lines...) Expand 10 before | Expand all | Expand 10 after
1235 __ bind(&runtime); 1235 __ bind(&runtime);
1236 __ TailCallRuntime(Runtime::kNewStrictArguments, 3, 1); 1236 __ TailCallRuntime(Runtime::kNewStrictArguments, 3, 1);
1237 } 1237 }
1238 1238
1239 1239
1240 void RegExpExecStub::Generate(MacroAssembler* masm) { 1240 void RegExpExecStub::Generate(MacroAssembler* masm) {
1241 // Just jump directly to runtime if native RegExp is not selected at compile 1241 // Just jump directly to runtime if native RegExp is not selected at compile
1242 // time or if regexp entry in generated code is turned off runtime switch or 1242 // time or if regexp entry in generated code is turned off runtime switch or
1243 // at compilation. 1243 // at compilation.
1244 #ifdef V8_INTERPRETED_REGEXP 1244 #ifdef V8_INTERPRETED_REGEXP
1245 __ TailCallRuntime(Runtime::kRegExpExec, 4, 1); 1245 __ TailCallRuntime(Runtime::kRegExpExecRT, 4, 1);
1246 #else // V8_INTERPRETED_REGEXP 1246 #else // V8_INTERPRETED_REGEXP
1247 1247
1248 // Stack frame on entry. 1248 // Stack frame on entry.
1249 // rsp[0] : return address 1249 // rsp[0] : return address
1250 // rsp[8] : last_match_info (expected JSArray) 1250 // rsp[8] : last_match_info (expected JSArray)
1251 // rsp[16] : previous index 1251 // rsp[16] : previous index
1252 // rsp[24] : subject string 1252 // rsp[24] : subject string
1253 // rsp[32] : JSRegExp object 1253 // rsp[32] : JSRegExp object
1254 1254
1255 enum RegExpExecStubArgumentIndices { 1255 enum RegExpExecStubArgumentIndices {
(...skipping 3722 matching lines...) Expand 10 before | Expand all | Expand 10 after
4978 return_value_operand, 4978 return_value_operand,
4979 NULL); 4979 NULL);
4980 } 4980 }
4981 4981
4982 4982
4983 #undef __ 4983 #undef __
4984 4984
4985 } } // namespace v8::internal 4985 } } // namespace v8::internal
4986 4986
4987 #endif // V8_TARGET_ARCH_X64 4987 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/mips/code-stubs-mips.cc ('k') | src/x87/code-stubs-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698