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

Side by Side Diff: src/mips/code-stubs-mips.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/ia32/code-stubs-ia32.cc ('k') | src/x64/code-stubs-x64.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 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_MIPS 7 #if V8_TARGET_ARCH_MIPS
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 2416 matching lines...) Expand 10 before | Expand all | Expand 10 after
2427 __ bind(&runtime); 2427 __ bind(&runtime);
2428 __ TailCallRuntime(Runtime::kNewStrictArguments, 3, 1); 2428 __ TailCallRuntime(Runtime::kNewStrictArguments, 3, 1);
2429 } 2429 }
2430 2430
2431 2431
2432 void RegExpExecStub::Generate(MacroAssembler* masm) { 2432 void RegExpExecStub::Generate(MacroAssembler* masm) {
2433 // Just jump directly to runtime if native RegExp is not selected at compile 2433 // Just jump directly to runtime if native RegExp is not selected at compile
2434 // time or if regexp entry in generated code is turned off runtime switch or 2434 // time or if regexp entry in generated code is turned off runtime switch or
2435 // at compilation. 2435 // at compilation.
2436 #ifdef V8_INTERPRETED_REGEXP 2436 #ifdef V8_INTERPRETED_REGEXP
2437 __ TailCallRuntime(Runtime::kRegExpExec, 4, 1); 2437 __ TailCallRuntime(Runtime::kRegExpExecRT, 4, 1);
2438 #else // V8_INTERPRETED_REGEXP 2438 #else // V8_INTERPRETED_REGEXP
2439 2439
2440 // Stack frame on entry. 2440 // Stack frame on entry.
2441 // sp[0]: last_match_info (expected JSArray) 2441 // sp[0]: last_match_info (expected JSArray)
2442 // sp[4]: previous index 2442 // sp[4]: previous index
2443 // sp[8]: subject string 2443 // sp[8]: subject string
2444 // sp[12]: JSRegExp object 2444 // sp[12]: JSRegExp object
2445 2445
2446 const int kLastMatchInfoOffset = 0 * kPointerSize; 2446 const int kLastMatchInfoOffset = 0 * kPointerSize;
2447 const int kPreviousIndexOffset = 1 * kPointerSize; 2447 const int kPreviousIndexOffset = 1 * kPointerSize;
(...skipping 2889 matching lines...) Expand 10 before | Expand all | Expand 10 after
5337 MemOperand(fp, 6 * kPointerSize), 5337 MemOperand(fp, 6 * kPointerSize),
5338 NULL); 5338 NULL);
5339 } 5339 }
5340 5340
5341 5341
5342 #undef __ 5342 #undef __
5343 5343
5344 } } // namespace v8::internal 5344 } } // namespace v8::internal
5345 5345
5346 #endif // V8_TARGET_ARCH_MIPS 5346 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/ia32/code-stubs-ia32.cc ('k') | src/x64/code-stubs-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698