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

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

Issue 803933008: new classes: change semantics of super(...) call and add new.target to construct stub. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix x64 Created 5 years, 11 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/flag-definitions.h ('k') | src/ia32/builtins-ia32.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_H_ 5 #ifndef V8_FULL_CODEGEN_H_
6 #define V8_FULL_CODEGEN_H_ 6 #define V8_FULL_CODEGEN_H_
7 7
8 #include "src/v8.h" 8 #include "src/v8.h"
9 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after
489 // Emit code to pop values from the stack associated with nested statements 489 // Emit code to pop values from the stack associated with nested statements
490 // like try/catch, try/finally, etc, running the finallies and unwinding the 490 // like try/catch, try/finally, etc, running the finallies and unwinding the
491 // handlers as needed. 491 // handlers as needed.
492 void EmitUnwindBeforeReturn(); 492 void EmitUnwindBeforeReturn();
493 493
494 // Platform-specific return sequence 494 // Platform-specific return sequence
495 void EmitReturnSequence(); 495 void EmitReturnSequence();
496 496
497 // Platform-specific code sequences for calls 497 // Platform-specific code sequences for calls
498 void EmitCall(Call* expr, CallICState::CallType = CallICState::FUNCTION); 498 void EmitCall(Call* expr, CallICState::CallType = CallICState::FUNCTION);
499 void EmitSuperConstructorCall(Call* expr);
499 void EmitCallWithLoadIC(Call* expr); 500 void EmitCallWithLoadIC(Call* expr);
500 void EmitSuperCallWithLoadIC(Call* expr); 501 void EmitSuperCallWithLoadIC(Call* expr);
501 void EmitKeyedCallWithLoadIC(Call* expr, Expression* key); 502 void EmitKeyedCallWithLoadIC(Call* expr, Expression* key);
502 void EmitKeyedSuperCallWithLoadIC(Call* expr); 503 void EmitKeyedSuperCallWithLoadIC(Call* expr);
503 504
504 // Platform-specific code for inline runtime calls. 505 // Platform-specific code for inline runtime calls.
505 InlineFunctionGenerator FindInlineFunctionGenerator(Runtime::FunctionId id); 506 InlineFunctionGenerator FindInlineFunctionGenerator(Runtime::FunctionId id);
506 507
507 void EmitInlineRuntimeCall(CallRuntime* expr); 508 void EmitInlineRuntimeCall(CallRuntime* expr);
508 509
(...skipping 539 matching lines...) Expand 10 before | Expand all | Expand 10 after
1048 1049
1049 Address start_; 1050 Address start_;
1050 Address instruction_start_; 1051 Address instruction_start_;
1051 uint32_t length_; 1052 uint32_t length_;
1052 }; 1053 };
1053 1054
1054 1055
1055 } } // namespace v8::internal 1056 } } // namespace v8::internal
1056 1057
1057 #endif // V8_FULL_CODEGEN_H_ 1058 #endif // V8_FULL_CODEGEN_H_
OLDNEW
« no previous file with comments | « src/flag-definitions.h ('k') | src/ia32/builtins-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698