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

Side by Side Diff: src/compiler/raw-machine-assembler.h

Issue 1294133004: [Interpreter] Pass context to interpreter bytecode handlers and add LoadConstextSlot (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 4 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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_COMPILER_RAW_MACHINE_ASSEMBLER_H_ 5 #ifndef V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_
6 #define V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ 6 #define V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/compiler/common-operator.h" 9 #include "src/compiler/common-operator.h"
10 #include "src/compiler/graph.h" 10 #include "src/compiler/graph.h"
(...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after
503 // Call to a C function with eight arguments. 503 // Call to a C function with eight arguments.
504 Node* CallCFunction8(MachineType return_type, MachineType arg0_type, 504 Node* CallCFunction8(MachineType return_type, MachineType arg0_type,
505 MachineType arg1_type, MachineType arg2_type, 505 MachineType arg1_type, MachineType arg2_type,
506 MachineType arg3_type, MachineType arg4_type, 506 MachineType arg3_type, MachineType arg4_type,
507 MachineType arg5_type, MachineType arg6_type, 507 MachineType arg5_type, MachineType arg6_type,
508 MachineType arg7_type, Node* function, Node* arg0, 508 MachineType arg7_type, Node* function, Node* arg0,
509 Node* arg1, Node* arg2, Node* arg3, Node* arg4, 509 Node* arg1, Node* arg2, Node* arg3, Node* arg4,
510 Node* arg5, Node* arg6, Node* arg7); 510 Node* arg5, Node* arg6, Node* arg7);
511 Node* TailCallInterpreterDispatch(const CallDescriptor* call_descriptor, 511 Node* TailCallInterpreterDispatch(const CallDescriptor* call_descriptor,
512 Node* target, Node* arg1, Node* arg2, 512 Node* target, Node* arg1, Node* arg2,
513 Node* arg3, Node* arg4, Node* arg5); 513 Node* arg3, Node* arg4, Node* arg5,
514 Node* arg6);
514 515
515 // =========================================================================== 516 // ===========================================================================
516 // The following utility methods deal with control flow, hence might switch 517 // The following utility methods deal with control flow, hence might switch
517 // the current basic block or create new basic blocks for labels. 518 // the current basic block or create new basic blocks for labels.
518 519
519 // Control flow. 520 // Control flow.
520 void Goto(Label* label); 521 void Goto(Label* label);
521 void Branch(Node* condition, Label* true_val, Label* false_val); 522 void Branch(Node* condition, Label* true_val, Label* false_val);
522 void Switch(Node* index, Label* default_label, int32_t* case_values, 523 void Switch(Node* index, Label* default_label, int32_t* case_values,
523 Label** case_labels, size_t case_count); 524 Label** case_labels, size_t case_count);
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 BasicBlock* current_block_; 595 BasicBlock* current_block_;
595 596
596 DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler); 597 DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler);
597 }; 598 };
598 599
599 } // namespace compiler 600 } // namespace compiler
600 } // namespace internal 601 } // namespace internal
601 } // namespace v8 602 } // namespace v8
602 603
603 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ 604 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698