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

Side by Side Diff: src/hydrogen.h

Issue 1109353003: Unify internal and external typed arrays a bit (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updates Created 5 years, 7 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 | « src/factory.cc ('k') | src/hydrogen.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 // 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 #ifndef V8_HYDROGEN_H_ 5 #ifndef V8_HYDROGEN_H_
6 #define V8_HYDROGEN_H_ 6 #define V8_HYDROGEN_H_
7 7
8 #include "src/v8.h" 8 #include "src/v8.h"
9 9
10 #include "src/accessors.h" 10 #include "src/accessors.h"
(...skipping 1877 matching lines...) Expand 10 before | Expand all | Expand 10 after
1888 // same function as current position_. 1888 // same function as current position_.
1889 SourcePosition ScriptPositionToSourcePosition(int position) { 1889 SourcePosition ScriptPositionToSourcePosition(int position) {
1890 SourcePosition pos = position_; 1890 SourcePosition pos = position_;
1891 pos.set_position(position - start_position_); 1891 pos.set_position(position - start_position_);
1892 return pos; 1892 return pos;
1893 } 1893 }
1894 1894
1895 SourcePosition source_position() { return position_; } 1895 SourcePosition source_position() { return position_; }
1896 void set_source_position(SourcePosition position) { position_ = position; } 1896 void set_source_position(SourcePosition position) { position_ = position; }
1897 1897
1898 HValue* BuildAllocateEmptyArrayBuffer(HValue* byte_length);
1898 template <typename ViewClass> 1899 template <typename ViewClass>
1899 void BuildArrayBufferViewInitialization(HValue* obj, 1900 void BuildArrayBufferViewInitialization(HValue* obj,
1900 HValue* buffer, 1901 HValue* buffer,
1901 HValue* byte_offset, 1902 HValue* byte_offset,
1902 HValue* byte_length); 1903 HValue* byte_length);
1903 1904
1904 private: 1905 private:
1905 HGraphBuilder(); 1906 HGraphBuilder();
1906 1907
1907 template <class I> 1908 template <class I>
(...skipping 1140 matching lines...) Expand 10 before | Expand all | Expand 10 after
3048 } 3049 }
3049 3050
3050 private: 3051 private:
3051 HGraphBuilder* builder_; 3052 HGraphBuilder* builder_;
3052 }; 3053 };
3053 3054
3054 3055
3055 } } // namespace v8::internal 3056 } } // namespace v8::internal
3056 3057
3057 #endif // V8_HYDROGEN_H_ 3058 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/factory.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698