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

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

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

Powered by Google App Engine
This is Rietveld 408576698