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

Side by Side Diff: src/compiler/code-assembler.cc

Issue 1995453002: [stubs] Extend HasProperty stub with dictionary-mode and double-elements objects support. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fixes and ArrayIndex-related cleanup in objects.h/.cc Created 4 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
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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/compiler/code-assembler.h" 5 #include "src/compiler/code-assembler.h"
6 6
7 #include <ostream> 7 #include <ostream>
8 8
9 #include "src/code-factory.h" 9 #include "src/code-factory.h"
10 #include "src/compiler/graph.h" 10 #include "src/compiler/graph.h"
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 } 84 }
85 85
86 bool CodeAssembler::IsFloat64RoundTruncateSupported() const { 86 bool CodeAssembler::IsFloat64RoundTruncateSupported() const {
87 return raw_assembler_->machine()->Float64RoundTruncate().IsSupported(); 87 return raw_assembler_->machine()->Float64RoundTruncate().IsSupported();
88 } 88 }
89 89
90 Node* CodeAssembler::Int32Constant(int value) { 90 Node* CodeAssembler::Int32Constant(int value) {
91 return raw_assembler_->Int32Constant(value); 91 return raw_assembler_->Int32Constant(value);
92 } 92 }
93 93
94 Node* CodeAssembler::Int64Constant(int64_t value) {
95 return raw_assembler_->Int64Constant(value);
96 }
97
94 Node* CodeAssembler::IntPtrConstant(intptr_t value) { 98 Node* CodeAssembler::IntPtrConstant(intptr_t value) {
95 return raw_assembler_->IntPtrConstant(value); 99 return raw_assembler_->IntPtrConstant(value);
96 } 100 }
97 101
98 Node* CodeAssembler::NumberConstant(double value) { 102 Node* CodeAssembler::NumberConstant(double value) {
99 return raw_assembler_->NumberConstant(value); 103 return raw_assembler_->NumberConstant(value);
100 } 104 }
101 105
102 Node* CodeAssembler::SmiConstant(Smi* value) { 106 Node* CodeAssembler::SmiConstant(Smi* value) {
103 return IntPtrConstant(bit_cast<intptr_t>(value)); 107 return IntPtrConstant(bit_cast<intptr_t>(value));
(...skipping 595 matching lines...) Expand 10 before | Expand all | Expand 10 after
699 } 703 }
700 } 704 }
701 } 705 }
702 706
703 bound_ = true; 707 bound_ = true;
704 } 708 }
705 709
706 } // namespace compiler 710 } // namespace compiler
707 } // namespace internal 711 } // namespace internal
708 } // namespace v8 712 } // namespace v8
OLDNEW
« src/code-stub-assembler.cc ('K') | « src/compiler/code-assembler.h ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698