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

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

Issue 1888013002: Revert of Correctly annotate eval origin. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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
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 534 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 Label* slow, Label* done); 545 Label* slow, Label* done);
546 void EmitGlobalVariableLoad(VariableProxy* proxy, TypeofMode typeof_mode); 546 void EmitGlobalVariableLoad(VariableProxy* proxy, TypeofMode typeof_mode);
547 void EmitVariableLoad(VariableProxy* proxy, 547 void EmitVariableLoad(VariableProxy* proxy,
548 TypeofMode typeof_mode = NOT_INSIDE_TYPEOF); 548 TypeofMode typeof_mode = NOT_INSIDE_TYPEOF);
549 549
550 void EmitAccessor(ObjectLiteralProperty* property); 550 void EmitAccessor(ObjectLiteralProperty* property);
551 551
552 bool NeedsHoleCheckForLoad(VariableProxy* proxy); 552 bool NeedsHoleCheckForLoad(VariableProxy* proxy);
553 553
554 // Expects the arguments and the function already pushed. 554 // Expects the arguments and the function already pushed.
555 void EmitResolvePossiblyDirectEval(Call* expr); 555 void EmitResolvePossiblyDirectEval(int arg_count);
556 556
557 // Platform-specific support for allocating a new closure based on 557 // Platform-specific support for allocating a new closure based on
558 // the given function info. 558 // the given function info.
559 void EmitNewClosure(Handle<SharedFunctionInfo> info, bool pretenure); 559 void EmitNewClosure(Handle<SharedFunctionInfo> info, bool pretenure);
560 560
561 // Re-usable portions of CallRuntime 561 // Re-usable portions of CallRuntime
562 void EmitLoadJSRuntimeFunction(CallRuntime* expr); 562 void EmitLoadJSRuntimeFunction(CallRuntime* expr);
563 void EmitCallJSRuntimeFunction(CallRuntime* expr); 563 void EmitCallJSRuntimeFunction(CallRuntime* expr);
564 564
565 // Load a value from a named property. 565 // Load a value from a named property.
(...skipping 484 matching lines...) Expand 10 before | Expand all | Expand 10 after
1050 Address start_; 1050 Address start_;
1051 Address instruction_start_; 1051 Address instruction_start_;
1052 uint32_t length_; 1052 uint32_t length_;
1053 }; 1053 };
1054 1054
1055 1055
1056 } // namespace internal 1056 } // namespace internal
1057 } // namespace v8 1057 } // namespace v8
1058 1058
1059 #endif // V8_FULL_CODEGEN_FULL_CODEGEN_H_ 1059 #endif // V8_FULL_CODEGEN_FULL_CODEGEN_H_
OLDNEW
« no previous file with comments | « src/full-codegen/arm64/full-codegen-arm64.cc ('k') | src/full-codegen/ia32/full-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698