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

Side by Side Diff: src/compiler/js-graph.cc

Issue 688633002: [turbofan] add configuration parameters for register allocator (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: rebase 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
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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/code-stubs.h"
5 #include "src/compiler/js-graph.h" 6 #include "src/compiler/js-graph.h"
6 #include "src/compiler/node-properties-inl.h" 7 #include "src/compiler/node-properties-inl.h"
7 #include "src/compiler/typer.h" 8 #include "src/compiler/typer.h"
8 9
9 namespace v8 { 10 namespace v8 {
10 namespace internal { 11 namespace internal {
11 namespace compiler { 12 namespace compiler {
12 13
13 Node* JSGraph::ImmovableHeapConstant(Handle<HeapObject> object) { 14 Node* JSGraph::ImmovableHeapConstant(Handle<HeapObject> object) {
14 Unique<HeapObject> unique = Unique<HeapObject>::CreateImmovable(object); 15 Unique<HeapObject> unique = Unique<HeapObject>::CreateImmovable(object);
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 &true_constant_, &false_constant_, &null_constant_, 200 &true_constant_, &false_constant_, &null_constant_,
200 &zero_constant_, &one_constant_, &nan_constant_}; 201 &zero_constant_, &one_constant_, &nan_constant_};
201 for (size_t i = 0; i < arraysize(ptrs); i++) { 202 for (size_t i = 0; i < arraysize(ptrs); i++) {
202 if (ptrs[i]->is_set()) nodes->push_back(ptrs[i]->get()); 203 if (ptrs[i]->is_set()) nodes->push_back(ptrs[i]->get());
203 } 204 }
204 } 205 }
205 206
206 } // namespace compiler 207 } // namespace compiler
207 } // namespace internal 208 } // namespace internal
208 } // namespace v8 209 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698