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

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

Issue 212473002: Fix interpreted regexp build. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « src/arm64/code-stubs-arm64.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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 1461 matching lines...) Expand 10 before | Expand all | Expand 10 after
1472 __ bind(&runtime); 1472 __ bind(&runtime);
1473 __ TailCallRuntime(Runtime::kNewStrictArgumentsFast, 3, 1); 1473 __ TailCallRuntime(Runtime::kNewStrictArgumentsFast, 3, 1);
1474 } 1474 }
1475 1475
1476 1476
1477 void RegExpExecStub::Generate(MacroAssembler* masm) { 1477 void RegExpExecStub::Generate(MacroAssembler* masm) {
1478 // Just jump directly to runtime if native RegExp is not selected at compile 1478 // Just jump directly to runtime if native RegExp is not selected at compile
1479 // time or if regexp entry in generated code is turned off runtime switch or 1479 // time or if regexp entry in generated code is turned off runtime switch or
1480 // at compilation. 1480 // at compilation.
1481 #ifdef V8_INTERPRETED_REGEXP 1481 #ifdef V8_INTERPRETED_REGEXP
1482 __ TailCallRuntime(Runtime::kRegExpExec, 4, 1); 1482 __ TailCallRuntime(Runtime::kHiddenRegExpExec, 4, 1);
1483 #else // V8_INTERPRETED_REGEXP 1483 #else // V8_INTERPRETED_REGEXP
1484 1484
1485 // Stack frame on entry. 1485 // Stack frame on entry.
1486 // esp[0]: return address 1486 // esp[0]: return address
1487 // esp[4]: last_match_info (expected JSArray) 1487 // esp[4]: last_match_info (expected JSArray)
1488 // esp[8]: previous index 1488 // esp[8]: previous index
1489 // esp[12]: subject string 1489 // esp[12]: subject string
1490 // esp[16]: JSRegExp object 1490 // esp[16]: JSRegExp object
1491 1491
1492 static const int kLastMatchInfoOffset = 1 * kPointerSize; 1492 static const int kLastMatchInfoOffset = 1 * kPointerSize;
(...skipping 3862 matching lines...) Expand 10 before | Expand all | Expand 10 after
5355 Operand(ebp, 7 * kPointerSize), 5355 Operand(ebp, 7 * kPointerSize),
5356 NULL); 5356 NULL);
5357 } 5357 }
5358 5358
5359 5359
5360 #undef __ 5360 #undef __
5361 5361
5362 } } // namespace v8::internal 5362 } } // namespace v8::internal
5363 5363
5364 #endif // V8_TARGET_ARCH_IA32 5364 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/arm64/code-stubs-arm64.cc ('k') | src/x64/code-stubs-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698