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

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

Issue 7754022: Fix presubmit errors caused by updated depot tools (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 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
« no previous file with comments | « src/mips/assembler-mips.h ('k') | src/objects.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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 virtual void WriteCurrentPositionToRegister(int reg, int cp_offset); 111 virtual void WriteCurrentPositionToRegister(int reg, int cp_offset);
112 virtual void ClearRegisters(int reg_from, int reg_to); 112 virtual void ClearRegisters(int reg_from, int reg_to);
113 virtual void WriteStackPointerToRegister(int reg); 113 virtual void WriteStackPointerToRegister(int reg);
114 114
115 // Called from RegExp if the stack-guard is triggered. 115 // Called from RegExp if the stack-guard is triggered.
116 // If the code object is relocated, the return address is fixed before 116 // If the code object is relocated, the return address is fixed before
117 // returning. 117 // returning.
118 static int CheckStackGuardState(Address* return_address, 118 static int CheckStackGuardState(Address* return_address,
119 Code* re_code, 119 Code* re_code,
120 Address re_frame); 120 Address re_frame);
121
121 private: 122 private:
122 // Offsets from frame_pointer() of function parameters and stored registers. 123 // Offsets from frame_pointer() of function parameters and stored registers.
123 static const int kFramePointer = 0; 124 static const int kFramePointer = 0;
124 125
125 // Above the frame pointer - Stored registers and stack passed parameters. 126 // Above the frame pointer - Stored registers and stack passed parameters.
126 // Registers s0 to s7, fp, and ra. 127 // Registers s0 to s7, fp, and ra.
127 static const int kStoredRegisters = kFramePointer; 128 static const int kStoredRegisters = kFramePointer;
128 // Return address (stored from link register, read into pc on return). 129 // Return address (stored from link register, read into pc on return).
129 static const int kReturnAddress = kStoredRegisters + 9 * kPointerSize; 130 static const int kReturnAddress = kStoredRegisters + 9 * kPointerSize;
130 static const int kSecondaryReturnAddress = kReturnAddress + kPointerSize; 131 static const int kSecondaryReturnAddress = kReturnAddress + kPointerSize;
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 Label stack_overflow_label_; 249 Label stack_overflow_label_;
249 Label internal_failure_label_; 250 Label internal_failure_label_;
250 }; 251 };
251 252
252 #endif // V8_INTERPRETED_REGEXP 253 #endif // V8_INTERPRETED_REGEXP
253 254
254 255
255 }} // namespace v8::internal 256 }} // namespace v8::internal
256 257
257 #endif // V8_MIPS_REGEXP_MACRO_ASSEMBLER_MIPS_H_ 258 #endif // V8_MIPS_REGEXP_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/assembler-mips.h ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698