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

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

Issue 2430273007: [runtime] Object.create(null) creates a slow object (Closed)
Patch Set: fix GC mole issue Created 4 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
« no previous file with comments | « src/code-stub-assembler.cc ('k') | src/compiler/code-assembler.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 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 #ifndef V8_COMPILER_CODE_ASSEMBLER_H_ 5 #ifndef V8_COMPILER_CODE_ASSEMBLER_H_
6 #define V8_COMPILER_CODE_ASSEMBLER_H_ 6 #define V8_COMPILER_CODE_ASSEMBLER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 10
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 // =========================================================================== 215 // ===========================================================================
216 // Base Assembler 216 // Base Assembler
217 // =========================================================================== 217 // ===========================================================================
218 218
219 // Constants. 219 // Constants.
220 Node* Int32Constant(int32_t value); 220 Node* Int32Constant(int32_t value);
221 Node* Int64Constant(int64_t value); 221 Node* Int64Constant(int64_t value);
222 Node* IntPtrConstant(intptr_t value); 222 Node* IntPtrConstant(intptr_t value);
223 Node* NumberConstant(double value); 223 Node* NumberConstant(double value);
224 Node* SmiConstant(Smi* value); 224 Node* SmiConstant(Smi* value);
225 Node* SmiConstant(int value);
225 Node* HeapConstant(Handle<HeapObject> object); 226 Node* HeapConstant(Handle<HeapObject> object);
226 Node* BooleanConstant(bool value); 227 Node* BooleanConstant(bool value);
227 Node* ExternalConstant(ExternalReference address); 228 Node* ExternalConstant(ExternalReference address);
228 Node* Float64Constant(double value); 229 Node* Float64Constant(double value);
229 Node* NaNConstant(); 230 Node* NaNConstant();
230 231
231 bool ToInt32Constant(Node* node, int32_t& out_value); 232 bool ToInt32Constant(Node* node, int32_t& out_value);
232 bool ToInt64Constant(Node* node, int64_t& out_value); 233 bool ToInt64Constant(Node* node, int64_t& out_value);
233 bool ToSmiConstant(Node* node, Smi*& out_value); 234 bool ToSmiConstant(Node* node, Smi*& out_value);
234 bool ToIntPtrConstant(Node* node, intptr_t& out_value); 235 bool ToIntPtrConstant(Node* node, intptr_t& out_value);
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
514 // Map of variables to the list of value nodes that have been added from each 515 // Map of variables to the list of value nodes that have been added from each
515 // merge path in their order of merging. 516 // merge path in their order of merging.
516 std::map<Variable::Impl*, std::vector<Node*>> variable_merges_; 517 std::map<Variable::Impl*, std::vector<Node*>> variable_merges_;
517 }; 518 };
518 519
519 } // namespace compiler 520 } // namespace compiler
520 } // namespace internal 521 } // namespace internal
521 } // namespace v8 522 } // namespace v8
522 523
523 #endif // V8_COMPILER_CODE_ASSEMBLER_H_ 524 #endif // V8_COMPILER_CODE_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/code-stub-assembler.cc ('k') | src/compiler/code-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698