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

Side by Side Diff: src/compiler/code-assembler.h

Issue 2802003003: [builtins] Speed up TypedArrayInitialize in CodeStubAssembler (Closed)
Patch Set: Created 3 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
« no previous file with comments | « src/builtins/builtins-typedarray-gen.cc ('k') | src/compiler/code-assembler.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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_CODE_ASSEMBLER_H_ 5 #ifndef V8_COMPILER_CODE_ASSEMBLER_H_
6 #define V8_COMPILER_CODE_ASSEMBLER_H_ 6 #define V8_COMPILER_CODE_ASSEMBLER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 10
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after
413 413
414 // Helpers which delegate to RawMachineAssembler. 414 // Helpers which delegate to RawMachineAssembler.
415 Factory* factory() const; 415 Factory* factory() const;
416 Isolate* isolate() const; 416 Isolate* isolate() const;
417 Zone* zone() const; 417 Zone* zone() const;
418 418
419 CodeAssemblerState* state() { return state_; } 419 CodeAssemblerState* state() { return state_; }
420 420
421 void BreakOnNode(int node_id); 421 void BreakOnNode(int node_id);
422 422
423 bool UnalignedLoadSupported(const MachineType& machineType,
424 uint8_t alignment) const;
425 bool UnalignedStoreSupported(const MachineType& machineType,
426 uint8_t alignment) const;
427
423 protected: 428 protected:
424 void RegisterCallGenerationCallbacks( 429 void RegisterCallGenerationCallbacks(
425 const CodeAssemblerCallback& call_prologue, 430 const CodeAssemblerCallback& call_prologue,
426 const CodeAssemblerCallback& call_epilogue); 431 const CodeAssemblerCallback& call_epilogue);
427 void UnregisterCallGenerationCallbacks(); 432 void UnregisterCallGenerationCallbacks();
428 433
429 private: 434 private:
430 RawMachineAssembler* raw_assembler() const; 435 RawMachineAssembler* raw_assembler() const;
431 436
432 // Calls respective callback registered in the state. 437 // Calls respective callback registered in the state.
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
565 CodeAssemblerCallback call_epilogue_; 570 CodeAssemblerCallback call_epilogue_;
566 571
567 DISALLOW_COPY_AND_ASSIGN(CodeAssemblerState); 572 DISALLOW_COPY_AND_ASSIGN(CodeAssemblerState);
568 }; 573 };
569 574
570 } // namespace compiler 575 } // namespace compiler
571 } // namespace internal 576 } // namespace internal
572 } // namespace v8 577 } // namespace v8
573 578
574 #endif // V8_COMPILER_CODE_ASSEMBLER_H_ 579 #endif // V8_COMPILER_CODE_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/builtins/builtins-typedarray-gen.cc ('k') | src/compiler/code-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698