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

Side by Side Diff: src/compiler/ast-graph-builder.h

Issue 1316943002: Move (uppercase) JS builtins from js builtins object to native context. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: remove Isolate::js_builtins_object Created 5 years, 3 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/builtins.cc ('k') | src/compiler/ast-graph-builder.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 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 #ifndef V8_COMPILER_AST_GRAPH_BUILDER_H_ 5 #ifndef V8_COMPILER_AST_GRAPH_BUILDER_H_
6 #define V8_COMPILER_AST_GRAPH_BUILDER_H_ 6 #define V8_COMPILER_AST_GRAPH_BUILDER_H_
7 7
8 #include "src/ast.h" 8 #include "src/ast.h"
9 #include "src/compiler/js-graph.h" 9 #include "src/compiler/js-graph.h"
10 #include "src/compiler/liveness-analyzer.h" 10 #include "src/compiler/liveness-analyzer.h"
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 Node* BuildGlobalLoad(Node* script_context, Node* global, Handle<Name> name, 310 Node* BuildGlobalLoad(Node* script_context, Node* global, Handle<Name> name,
311 const VectorSlotPair& feedback, TypeofMode typeof_mode, 311 const VectorSlotPair& feedback, TypeofMode typeof_mode,
312 int slot_index); 312 int slot_index);
313 Node* BuildGlobalStore(Node* script_context, Node* global, Handle<Name> name, 313 Node* BuildGlobalStore(Node* script_context, Node* global, Handle<Name> name,
314 Node* value, const VectorSlotPair& feedback, 314 Node* value, const VectorSlotPair& feedback,
315 TypeFeedbackId id, int slot_index); 315 TypeFeedbackId id, int slot_index);
316 316
317 // Builders for accessing the function context. 317 // Builders for accessing the function context.
318 Node* BuildLoadBuiltinsObject(); 318 Node* BuildLoadBuiltinsObject();
319 Node* BuildLoadGlobalObject(); 319 Node* BuildLoadGlobalObject();
320 Node* BuildLoadNativeContextField(int index);
320 Node* BuildLoadGlobalProxy(); 321 Node* BuildLoadGlobalProxy();
321 Node* BuildLoadFeedbackVector(); 322 Node* BuildLoadFeedbackVector();
322 323
323 // Builder for accessing a (potentially immutable) object field. 324 // Builder for accessing a (potentially immutable) object field.
324 Node* BuildLoadObjectField(Node* object, int offset); 325 Node* BuildLoadObjectField(Node* object, int offset);
325 Node* BuildLoadImmutableObjectField(Node* object, int offset); 326 Node* BuildLoadImmutableObjectField(Node* object, int offset);
326 327
327 // Builders for accessing external references. 328 // Builders for accessing external references.
328 Node* BuildLoadExternal(ExternalReference ref, MachineType type); 329 Node* BuildLoadExternal(ExternalReference ref, MachineType type);
329 Node* BuildStoreExternal(ExternalReference ref, MachineType type, Node* val); 330 Node* BuildStoreExternal(ExternalReference ref, MachineType type, Node* val);
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
560 561
561 // Prepare environment to be used as loop header. 562 // Prepare environment to be used as loop header.
562 void PrepareForLoop(BitVector* assigned, bool is_osr = false); 563 void PrepareForLoop(BitVector* assigned, bool is_osr = false);
563 }; 564 };
564 565
565 } // namespace compiler 566 } // namespace compiler
566 } // namespace internal 567 } // namespace internal
567 } // namespace v8 568 } // namespace v8
568 569
569 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_ 570 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_
OLDNEW
« no previous file with comments | « src/builtins.cc ('k') | src/compiler/ast-graph-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698