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

Side by Side Diff: src/hydrogen.h

Issue 716833002: Various clean-ups after top-level lexical declarations are done. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Patch for landing Created 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/heap/heap.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 1860 matching lines...) Expand 10 before | Expand all | Expand 10 after
1871 void BuildCreateAllocationMemento(HValue* previous_object, 1871 void BuildCreateAllocationMemento(HValue* previous_object,
1872 HValue* previous_object_size, 1872 HValue* previous_object_size,
1873 HValue* payload); 1873 HValue* payload);
1874 1874
1875 HInstruction* BuildConstantMapCheck(Handle<JSObject> constant); 1875 HInstruction* BuildConstantMapCheck(Handle<JSObject> constant);
1876 HInstruction* BuildCheckPrototypeMaps(Handle<JSObject> prototype, 1876 HInstruction* BuildCheckPrototypeMaps(Handle<JSObject> prototype,
1877 Handle<JSObject> holder); 1877 Handle<JSObject> holder);
1878 1878
1879 HInstruction* BuildGetNativeContext(HValue* closure); 1879 HInstruction* BuildGetNativeContext(HValue* closure);
1880 HInstruction* BuildGetNativeContext(); 1880 HInstruction* BuildGetNativeContext();
1881 HInstruction* BuildGetGlobalContext(int context_index); 1881 HInstruction* BuildGetScriptContext(int context_index);
1882 HInstruction* BuildGetArrayFunction(); 1882 HInstruction* BuildGetArrayFunction();
1883 1883
1884 protected: 1884 protected:
1885 void SetSourcePosition(int position) { 1885 void SetSourcePosition(int position) {
1886 DCHECK(position != RelocInfo::kNoPosition); 1886 DCHECK(position != RelocInfo::kNoPosition);
1887 position_.set_position(position - start_position_); 1887 position_.set_position(position - start_position_);
1888 } 1888 }
1889 1889
1890 void EnterInlinedSource(int start_position, int id) { 1890 void EnterInlinedSource(int start_position, int id) {
1891 if (FLAG_hydrogen_track_positions) { 1891 if (FLAG_hydrogen_track_positions) {
(...skipping 1019 matching lines...) Expand 10 before | Expand all | Expand 10 after
2911 } 2911 }
2912 2912
2913 private: 2913 private:
2914 HGraphBuilder* builder_; 2914 HGraphBuilder* builder_;
2915 }; 2915 };
2916 2916
2917 2917
2918 } } // namespace v8::internal 2918 } } // namespace v8::internal
2919 2919
2920 #endif // V8_HYDROGEN_H_ 2920 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/heap/heap.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698