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

Side by Side Diff: src/crankshaft/hydrogen.h

Issue 1722193002: [compiler] Drop the CompareNilIC. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE Created 4 years, 9 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/compiler/verifier.cc ('k') | src/crankshaft/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_CRANKSHAFT_HYDROGEN_H_ 5 #ifndef V8_CRANKSHAFT_HYDROGEN_H_
6 #define V8_CRANKSHAFT_HYDROGEN_H_ 6 #define V8_CRANKSHAFT_HYDROGEN_H_
7 7
8 #include "src/accessors.h" 8 #include "src/accessors.h"
9 #include "src/allocation.h" 9 #include "src/allocation.h"
10 #include "src/ast/ast.h" 10 #include "src/ast/ast.h"
(...skipping 1815 matching lines...) Expand 10 before | Expand all | Expand 10 after
1826 HValue* allocation_site, 1826 HValue* allocation_site,
1827 AllocationSiteMode mode); 1827 AllocationSiteMode mode);
1828 1828
1829 HValue* BuildCloneShallowArrayNonEmpty(HValue* boilerplate, 1829 HValue* BuildCloneShallowArrayNonEmpty(HValue* boilerplate,
1830 HValue* allocation_site, 1830 HValue* allocation_site,
1831 AllocationSiteMode mode, 1831 AllocationSiteMode mode,
1832 ElementsKind kind); 1832 ElementsKind kind);
1833 1833
1834 HValue* BuildElementIndexHash(HValue* index); 1834 HValue* BuildElementIndexHash(HValue* index);
1835 1835
1836 enum MapEmbedding { kEmbedMapsDirectly, kEmbedMapsViaWeakCells };
1837
1838 void BuildCompareNil(HValue* value, Type* type, HIfContinuation* continuation,
1839 MapEmbedding map_embedding = kEmbedMapsDirectly);
1840
1841 void BuildCreateAllocationMemento(HValue* previous_object, 1836 void BuildCreateAllocationMemento(HValue* previous_object,
1842 HValue* previous_object_size, 1837 HValue* previous_object_size,
1843 HValue* payload); 1838 HValue* payload);
1844 1839
1845 HInstruction* BuildConstantMapCheck(Handle<JSObject> constant); 1840 HInstruction* BuildConstantMapCheck(Handle<JSObject> constant);
1846 HInstruction* BuildCheckPrototypeMaps(Handle<JSObject> prototype, 1841 HInstruction* BuildCheckPrototypeMaps(Handle<JSObject> prototype,
1847 Handle<JSObject> holder); 1842 Handle<JSObject> holder);
1848 1843
1849 HInstruction* BuildGetNativeContext(HValue* closure); 1844 HInstruction* BuildGetNativeContext(HValue* closure);
1850 HInstruction* BuildGetNativeContext(); 1845 HInstruction* BuildGetNativeContext();
(...skipping 1176 matching lines...) Expand 10 before | Expand all | Expand 10 after
3027 3022
3028 private: 3023 private:
3029 HGraphBuilder* builder_; 3024 HGraphBuilder* builder_;
3030 }; 3025 };
3031 3026
3032 3027
3033 } // namespace internal 3028 } // namespace internal
3034 } // namespace v8 3029 } // namespace v8
3035 3030
3036 #endif // V8_CRANKSHAFT_HYDROGEN_H_ 3031 #endif // V8_CRANKSHAFT_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/compiler/verifier.cc ('k') | src/crankshaft/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698