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

Side by Side Diff: src/mips64/regexp-macro-assembler-mips64.cc

Issue 1061363003: MIPS64: Fix typo of 'Always update raw pointers when handling interrupts inside RegExp code.' (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « no previous file | no next file » | 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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_MIPS64 7 #if V8_TARGET_ARCH_MIPS64
8 8
9 #include "src/code-stubs.h" 9 #include "src/code-stubs.h"
10 #include "src/log.h" 10 #include "src/log.h"
(...skipping 1134 matching lines...) Expand 10 before | Expand all | Expand 10 after
1145 return reinterpret_cast<T&>(Memory::int32_at(re_frame + frame_offset)); 1145 return reinterpret_cast<T&>(Memory::int32_at(re_frame + frame_offset));
1146 } 1146 }
1147 1147
1148 1148
1149 template <typename T> 1149 template <typename T>
1150 static T* frame_entry_address(Address re_frame, int frame_offset) { 1150 static T* frame_entry_address(Address re_frame, int frame_offset) {
1151 return reinterpret_cast<T*>(re_frame + frame_offset); 1151 return reinterpret_cast<T*>(re_frame + frame_offset);
1152 } 1152 }
1153 1153
1154 1154
1155 int64 RegExpMacroAssemblerMIPS::CheckStackGuardState(Address* return_address, 1155 int64_t RegExpMacroAssemblerMIPS::CheckStackGuardState(Address* return_address,
1156 Code* re_code, 1156 Code* re_code,
1157 Address re_frame) { 1157 Address re_frame) {
1158 return NativeRegExpMacroAssembler::CheckStackGuardState( 1158 return NativeRegExpMacroAssembler::CheckStackGuardState(
1159 frame_entry<Isolate*>(re_frame, kIsolate), 1159 frame_entry<Isolate*>(re_frame, kIsolate),
1160 frame_entry<int>(re_frame, kStartIndex), 1160 frame_entry<int>(re_frame, kStartIndex),
1161 frame_entry<int>(re_frame, kDirectCall) == 1, return_address, re_code, 1161 frame_entry<int>(re_frame, kDirectCall) == 1, return_address, re_code,
1162 frame_entry_address<String*>(re_frame, kInputString), 1162 frame_entry_address<String*>(re_frame, kInputString),
1163 frame_entry_address<const byte*>(re_frame, kInputStart), 1163 frame_entry_address<const byte*>(re_frame, kInputStart),
1164 frame_entry_address<const byte*>(re_frame, kInputEnd)); 1164 frame_entry_address<const byte*>(re_frame, kInputEnd));
1165 } 1165 }
1166 1166
1167 1167
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
1282 } 1282 }
1283 } 1283 }
1284 1284
1285 #undef __ 1285 #undef __
1286 1286
1287 #endif // V8_INTERPRETED_REGEXP 1287 #endif // V8_INTERPRETED_REGEXP
1288 1288
1289 }} // namespace v8::internal 1289 }} // namespace v8::internal
1290 1290
1291 #endif // V8_TARGET_ARCH_MIPS64 1291 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698