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

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

Issue 1428953002: Simplify dispatch in FullCodeGenerator::VisitCall a bit. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add MacroAssembler::PushRoot for ARM64. Created 5 years, 1 month 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/full-codegen/arm64/full-codegen-arm64.cc ('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.h" 10 #include "src/ast.h"
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after
470 // Platform-specific return sequence 470 // Platform-specific return sequence
471 void EmitReturnSequence(); 471 void EmitReturnSequence();
472 472
473 // Platform-specific code sequences for calls 473 // Platform-specific code sequences for calls
474 void EmitCall(Call* expr, CallICState::CallType = CallICState::FUNCTION); 474 void EmitCall(Call* expr, CallICState::CallType = CallICState::FUNCTION);
475 void EmitSuperConstructorCall(Call* expr); 475 void EmitSuperConstructorCall(Call* expr);
476 void EmitCallWithLoadIC(Call* expr); 476 void EmitCallWithLoadIC(Call* expr);
477 void EmitSuperCallWithLoadIC(Call* expr); 477 void EmitSuperCallWithLoadIC(Call* expr);
478 void EmitKeyedCallWithLoadIC(Call* expr, Expression* key); 478 void EmitKeyedCallWithLoadIC(Call* expr, Expression* key);
479 void EmitKeyedSuperCallWithLoadIC(Call* expr); 479 void EmitKeyedSuperCallWithLoadIC(Call* expr);
480 void EmitPossiblyEvalCall(Call* expr);
480 481
481 #define FOR_EACH_FULL_CODE_INTRINSIC(F) \ 482 #define FOR_EACH_FULL_CODE_INTRINSIC(F) \
482 F(IsSmi) \ 483 F(IsSmi) \
483 F(IsArray) \ 484 F(IsArray) \
484 F(IsTypedArray) \ 485 F(IsTypedArray) \
485 F(IsRegExp) \ 486 F(IsRegExp) \
486 F(IsJSProxy) \ 487 F(IsJSProxy) \
487 F(IsConstructCall) \ 488 F(IsConstructCall) \
488 F(Call) \ 489 F(Call) \
489 F(CallFunction) \ 490 F(CallFunction) \
(...skipping 572 matching lines...) Expand 10 before | Expand all | Expand 10 after
1062 Address start_; 1063 Address start_;
1063 Address instruction_start_; 1064 Address instruction_start_;
1064 uint32_t length_; 1065 uint32_t length_;
1065 }; 1066 };
1066 1067
1067 1068
1068 } // namespace internal 1069 } // namespace internal
1069 } // namespace v8 1070 } // namespace v8
1070 1071
1071 #endif // V8_FULL_CODEGEN_FULL_CODEGEN_H_ 1072 #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/full-codegen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698