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

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

Issue 8228004: Remove some unused and unneeded flags. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 years, 2 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 | « benchmarks/spinning-balls/v.js ('k') | src/flag-definitions.h » ('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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 4408 matching lines...) Expand 10 before | Expand all | Expand 10 after
4419 } 4419 }
4420 4420
4421 4421
4422 void RegExpExecStub::Generate(MacroAssembler* masm) { 4422 void RegExpExecStub::Generate(MacroAssembler* masm) {
4423 // Just jump directly to runtime if native RegExp is not selected at compile 4423 // Just jump directly to runtime if native RegExp is not selected at compile
4424 // time or if regexp entry in generated code is turned off runtime switch or 4424 // time or if regexp entry in generated code is turned off runtime switch or
4425 // at compilation. 4425 // at compilation.
4426 #ifdef V8_INTERPRETED_REGEXP 4426 #ifdef V8_INTERPRETED_REGEXP
4427 __ TailCallRuntime(Runtime::kRegExpExec, 4, 1); 4427 __ TailCallRuntime(Runtime::kRegExpExec, 4, 1);
4428 #else // V8_INTERPRETED_REGEXP 4428 #else // V8_INTERPRETED_REGEXP
4429 if (!FLAG_regexp_entry_native) {
4430 __ TailCallRuntime(Runtime::kRegExpExec, 4, 1);
4431 return;
4432 }
4433 4429
4434 // Stack frame on entry. 4430 // Stack frame on entry.
4435 // sp[0]: last_match_info (expected JSArray) 4431 // sp[0]: last_match_info (expected JSArray)
4436 // sp[4]: previous index 4432 // sp[4]: previous index
4437 // sp[8]: subject string 4433 // sp[8]: subject string
4438 // sp[12]: JSRegExp object 4434 // sp[12]: JSRegExp object
4439 4435
4440 static const int kLastMatchInfoOffset = 0 * kPointerSize; 4436 static const int kLastMatchInfoOffset = 0 * kPointerSize;
4441 static const int kPreviousIndexOffset = 1 * kPointerSize; 4437 static const int kPreviousIndexOffset = 1 * kPointerSize;
4442 static const int kSubjectOffset = 2 * kPointerSize; 4438 static const int kSubjectOffset = 2 * kPointerSize;
(...skipping 2723 matching lines...) Expand 10 before | Expand all | Expand 10 after
7166 7162
7167 // Fall through when we need to inform the incremental marker. 7163 // Fall through when we need to inform the incremental marker.
7168 } 7164 }
7169 7165
7170 7166
7171 #undef __ 7167 #undef __
7172 7168
7173 } } // namespace v8::internal 7169 } } // namespace v8::internal
7174 7170
7175 #endif // V8_TARGET_ARCH_ARM 7171 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « benchmarks/spinning-balls/v.js ('k') | src/flag-definitions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698