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

Unified Diff: src/regexp-macro-assembler.h

Issue 12429: Old gcc on ARM can't cope with template stuff we weren't using anyway. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 12 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/regexp-macro-assembler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/regexp-macro-assembler.h
===================================================================
--- src/regexp-macro-assembler.h (revision 833)
+++ src/regexp-macro-assembler.h (working copy)
@@ -148,9 +148,8 @@
size_t base_offset() {
return ByteArray::kHeaderSize - kHeapObjectTag + offset_;
}
- template <typename T>
- T* location() {
- return reinterpret_cast<T*>(array_->GetDataStartAddress() + offset_);
+ void* location() {
+ return reinterpret_cast<void*>(array_->GetDataStartAddress() + offset_);
}
template <typename T>
T& at(int idx) {
« no previous file with comments | « no previous file | src/regexp-macro-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698