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

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

Issue 2597163002: Revert of [TypeFeedbackVector] Root literal arrays in function literals slots (Closed)
Patch Set: 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
« no previous file with comments | « src/flag-definitions.h ('k') | src/full-codegen/full-codegen.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 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 425 matching lines...) Expand 10 before | Expand all | Expand 10 after
436 436
437 // Platform-specific code for loading variables. 437 // Platform-specific code for loading variables.
438 void EmitGlobalVariableLoad(VariableProxy* proxy, TypeofMode typeof_mode); 438 void EmitGlobalVariableLoad(VariableProxy* proxy, TypeofMode typeof_mode);
439 void EmitVariableLoad(VariableProxy* proxy, 439 void EmitVariableLoad(VariableProxy* proxy,
440 TypeofMode typeof_mode = NOT_INSIDE_TYPEOF); 440 TypeofMode typeof_mode = NOT_INSIDE_TYPEOF);
441 441
442 void EmitAccessor(ObjectLiteralProperty* property); 442 void EmitAccessor(ObjectLiteralProperty* property);
443 443
444 // Platform-specific support for allocating a new closure based on 444 // Platform-specific support for allocating a new closure based on
445 // the given function info. 445 // the given function info.
446 void EmitNewClosure(Handle<SharedFunctionInfo> info, FeedbackVectorSlot slot, 446 void EmitNewClosure(Handle<SharedFunctionInfo> info, bool pretenure);
447 bool pretenure);
448 447
449 // Re-usable portions of CallRuntime 448 // Re-usable portions of CallRuntime
450 void EmitLoadJSRuntimeFunction(CallRuntime* expr); 449 void EmitLoadJSRuntimeFunction(CallRuntime* expr);
451 void EmitCallJSRuntimeFunction(CallRuntime* expr); 450 void EmitCallJSRuntimeFunction(CallRuntime* expr);
452 451
453 // Load a value from a named property. 452 // Load a value from a named property.
454 // The receiver is left on the stack by the IC. 453 // The receiver is left on the stack by the IC.
455 void EmitNamedPropertyLoad(Property* expr); 454 void EmitNamedPropertyLoad(Property* expr);
456 455
457 // Load a value from a keyed property. 456 // Load a value from a keyed property.
(...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after
899 Address start_; 898 Address start_;
900 Address instruction_start_; 899 Address instruction_start_;
901 uint32_t length_; 900 uint32_t length_;
902 }; 901 };
903 902
904 903
905 } // namespace internal 904 } // namespace internal
906 } // namespace v8 905 } // namespace v8
907 906
908 #endif // V8_FULL_CODEGEN_FULL_CODEGEN_H_ 907 #endif // V8_FULL_CODEGEN_FULL_CODEGEN_H_
OLDNEW
« no previous file with comments | « src/flag-definitions.h ('k') | src/full-codegen/full-codegen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698