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

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

Issue 11167004: Fix MIPS build broken by r12735 'Allow unaligned accesses for ARMv7'. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 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 | « no previous file | src/mips/regexp-macro-assembler-mips.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 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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 virtual void PushRegister(int register_index, 105 virtual void PushRegister(int register_index,
106 StackCheckFlag check_stack_limit); 106 StackCheckFlag check_stack_limit);
107 virtual void ReadCurrentPositionFromRegister(int reg); 107 virtual void ReadCurrentPositionFromRegister(int reg);
108 virtual void ReadStackPointerFromRegister(int reg); 108 virtual void ReadStackPointerFromRegister(int reg);
109 virtual void SetCurrentPositionFromEnd(int by); 109 virtual void SetCurrentPositionFromEnd(int by);
110 virtual void SetRegister(int register_index, int to); 110 virtual void SetRegister(int register_index, int to);
111 virtual bool Succeed(); 111 virtual bool Succeed();
112 virtual void WriteCurrentPositionToRegister(int reg, int cp_offset); 112 virtual void WriteCurrentPositionToRegister(int reg, int cp_offset);
113 virtual void ClearRegisters(int reg_from, int reg_to); 113 virtual void ClearRegisters(int reg_from, int reg_to);
114 virtual void WriteStackPointerToRegister(int reg); 114 virtual void WriteStackPointerToRegister(int reg);
115 virtual bool CanReadUnaligned();
115 116
116 // Called from RegExp if the stack-guard is triggered. 117 // Called from RegExp if the stack-guard is triggered.
117 // If the code object is relocated, the return address is fixed before 118 // If the code object is relocated, the return address is fixed before
118 // returning. 119 // returning.
119 static int CheckStackGuardState(Address* return_address, 120 static int CheckStackGuardState(Address* return_address,
120 Code* re_code, 121 Code* re_code,
121 Address re_frame); 122 Address re_frame);
122 123
123 private: 124 private:
124 // Offsets from frame_pointer() of function parameters and stored registers. 125 // Offsets from frame_pointer() of function parameters and stored registers.
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 Label stack_overflow_label_; 252 Label stack_overflow_label_;
252 Label internal_failure_label_; 253 Label internal_failure_label_;
253 }; 254 };
254 255
255 #endif // V8_INTERPRETED_REGEXP 256 #endif // V8_INTERPRETED_REGEXP
256 257
257 258
258 }} // namespace v8::internal 259 }} // namespace v8::internal
259 260
260 #endif // V8_MIPS_REGEXP_MACRO_ASSEMBLER_MIPS_H_ 261 #endif // V8_MIPS_REGEXP_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « no previous file | src/mips/regexp-macro-assembler-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698