| OLD | NEW |
| 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 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 inline void Pop(Register target); | 222 inline void Pop(Register target); |
| 223 | 223 |
| 224 // Calls a C function and cleans up the frame alignment done by | 224 // Calls a C function and cleans up the frame alignment done by |
| 225 // by FrameAlign. The called function *is* allowed to trigger a garbage | 225 // by FrameAlign. The called function *is* allowed to trigger a garbage |
| 226 // collection, but may not take more than four arguments (no arguments | 226 // collection, but may not take more than four arguments (no arguments |
| 227 // passed on the stack), and the first argument will be a pointer to the | 227 // passed on the stack), and the first argument will be a pointer to the |
| 228 // return address. | 228 // return address. |
| 229 inline void CallCFunctionUsingStub(ExternalReference function, | 229 inline void CallCFunctionUsingStub(ExternalReference function, |
| 230 int num_arguments); | 230 int num_arguments); |
| 231 | 231 |
| 232 Isolate* isolate() const { return masm_->isolate(); } |
| 232 | 233 |
| 233 MacroAssembler* masm_; | 234 MacroAssembler* masm_; |
| 234 | 235 |
| 235 // Which mode to generate code for (ASCII or UC16). | 236 // Which mode to generate code for (ASCII or UC16). |
| 236 Mode mode_; | 237 Mode mode_; |
| 237 | 238 |
| 238 // One greater than maximal register index actually used. | 239 // One greater than maximal register index actually used. |
| 239 int num_registers_; | 240 int num_registers_; |
| 240 | 241 |
| 241 // Number of registers to output at the end (the saved registers | 242 // Number of registers to output at the end (the saved registers |
| (...skipping 10 matching lines...) Expand all Loading... |
| 252 Label stack_overflow_label_; | 253 Label stack_overflow_label_; |
| 253 Label internal_failure_label_; | 254 Label internal_failure_label_; |
| 254 }; | 255 }; |
| 255 | 256 |
| 256 #endif // V8_INTERPRETED_REGEXP | 257 #endif // V8_INTERPRETED_REGEXP |
| 257 | 258 |
| 258 | 259 |
| 259 }} // namespace v8::internal | 260 }} // namespace v8::internal |
| 260 | 261 |
| 261 #endif // V8_MIPS_REGEXP_MACRO_ASSEMBLER_MIPS_H_ | 262 #endif // V8_MIPS_REGEXP_MACRO_ASSEMBLER_MIPS_H_ |
| OLD | NEW |