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

Side by Side Diff: src/full-codegen/full-codegen.h

Issue 2504153002: [TypeFeedbackVector] Root literal arrays in function literals slots (Closed)
Patch Set: REBASE. Created 4 years 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 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_FULL_CODEGEN_FULL_CODEGEN_H_ 5 #ifndef V8_FULL_CODEGEN_FULL_CODEGEN_H_
6 #define V8_FULL_CODEGEN_FULL_CODEGEN_H_ 6 #define V8_FULL_CODEGEN_FULL_CODEGEN_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/assert-scope.h" 9 #include "src/assert-scope.h"
10 #include "src/ast/ast.h" 10 #include "src/ast/ast.h"
(...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after
433 433
434 // Platform-specific code for loading variables. 434 // Platform-specific code for loading variables.
435 void EmitGlobalVariableLoad(VariableProxy* proxy, TypeofMode typeof_mode); 435 void EmitGlobalVariableLoad(VariableProxy* proxy, TypeofMode typeof_mode);
436 void EmitVariableLoad(VariableProxy* proxy, 436 void EmitVariableLoad(VariableProxy* proxy,
437 TypeofMode typeof_mode = NOT_INSIDE_TYPEOF); 437 TypeofMode typeof_mode = NOT_INSIDE_TYPEOF);
438 438
439 void EmitAccessor(ObjectLiteralProperty* property); 439 void EmitAccessor(ObjectLiteralProperty* property);
440 440
441 // Platform-specific support for allocating a new closure based on 441 // Platform-specific support for allocating a new closure based on
442 // the given function info. 442 // the given function info.
443 void EmitNewClosure(Handle<SharedFunctionInfo> info, bool pretenure); 443 void EmitNewClosure(Handle<SharedFunctionInfo> info, FeedbackVectorSlot slot,
444 bool pretenure);
444 445
445 // Re-usable portions of CallRuntime 446 // Re-usable portions of CallRuntime
446 void EmitLoadJSRuntimeFunction(CallRuntime* expr); 447 void EmitLoadJSRuntimeFunction(CallRuntime* expr);
447 void EmitCallJSRuntimeFunction(CallRuntime* expr); 448 void EmitCallJSRuntimeFunction(CallRuntime* expr);
448 449
449 // Load a value from a named property. 450 // Load a value from a named property.
450 // The receiver is left on the stack by the IC. 451 // The receiver is left on the stack by the IC.
451 void EmitNamedPropertyLoad(Property* expr); 452 void EmitNamedPropertyLoad(Property* expr);
452 453
453 // Load a value from a keyed property. 454 // Load a value from a keyed property.
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after
894 Address start_; 895 Address start_;
895 Address instruction_start_; 896 Address instruction_start_;
896 uint32_t length_; 897 uint32_t length_;
897 }; 898 };
898 899
899 900
900 } // namespace internal 901 } // namespace internal
901 } // namespace v8 902 } // namespace v8
902 903
903 #endif // V8_FULL_CODEGEN_FULL_CODEGEN_H_ 904 #endif // V8_FULL_CODEGEN_FULL_CODEGEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698