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

Side by Side Diff: src/arm/regexp-macro-assembler-arm.h

Issue 23468015: ARM: replace RegExpCEntryStub with DirectCEntryStub. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 3 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
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 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 inline void SafeCallTarget(Label* name); 205 inline void SafeCallTarget(Label* name);
206 206
207 // Pushes the value of a register on the backtrack stack. Decrements the 207 // Pushes the value of a register on the backtrack stack. Decrements the
208 // stack pointer by a word size and stores the register's value there. 208 // stack pointer by a word size and stores the register's value there.
209 inline void Push(Register source); 209 inline void Push(Register source);
210 210
211 // Pops a value from the backtrack stack. Reads the word at the stack pointer 211 // Pops a value from the backtrack stack. Reads the word at the stack pointer
212 // and increments it by a word size. 212 // and increments it by a word size.
213 inline void Pop(Register target); 213 inline void Pop(Register target);
214 214
215 // Calls a C function and cleans up the frame alignment done by
216 // by FrameAlign. The called function *is* allowed to trigger a garbage
217 // collection, but may not take more than four arguments (no arguments
218 // passed on the stack), and the first argument will be a pointer to the
219 // return address.
220 inline void CallCFunctionUsingStub(ExternalReference function,
221 int num_arguments);
222
223 Isolate* isolate() const { return masm_->isolate(); } 215 Isolate* isolate() const { return masm_->isolate(); }
224 216
225 MacroAssembler* masm_; 217 MacroAssembler* masm_;
226 218
227 // Which mode to generate code for (ASCII or UC16). 219 // Which mode to generate code for (ASCII or UC16).
228 Mode mode_; 220 Mode mode_;
229 221
230 // One greater than maximal register index actually used. 222 // One greater than maximal register index actually used.
231 int num_registers_; 223 int num_registers_;
232 224
(...skipping 15 matching lines...) Expand all
248 Label check_preempt_label_; 240 Label check_preempt_label_;
249 Label stack_overflow_label_; 241 Label stack_overflow_label_;
250 }; 242 };
251 243
252 #endif // V8_INTERPRETED_REGEXP 244 #endif // V8_INTERPRETED_REGEXP
253 245
254 246
255 }} // namespace v8::internal 247 }} // namespace v8::internal
256 248
257 #endif // V8_ARM_REGEXP_MACRO_ASSEMBLER_ARM_H_ 249 #endif // V8_ARM_REGEXP_MACRO_ASSEMBLER_ARM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698