Home | History | Annotate | Download | only in s390
      1 // Copyright 2011 the V8 project authors. All rights reserved.
      2 //
      3 // Copyright IBM Corp. 2012, 2015. All rights reserved.
      4 //
      5 // Use of this source code is governed by a BSD-style license that can be
      6 // found in the LICENSE file.
      7 
      8 #ifndef V8_S390_CODEGEN_S390_H_
      9 #define V8_S390_CODEGEN_S390_H_
     10 
     11 #include "src/macro-assembler.h"
     12 
     13 namespace v8 {
     14 namespace internal {
     15 
     16 class StringCharLoadGenerator : public AllStatic {
     17  public:
     18   // Generates the code for handling different string types and loading the
     19   // indexed character into |result|.  We expect |index| as untagged input and
     20   // |result| as untagged output.
     21   static void Generate(MacroAssembler* masm, Register string, Register index,
     22                        Register result, Label* call_runtime);
     23 
     24  private:
     25   DISALLOW_COPY_AND_ASSIGN(StringCharLoadGenerator);
     26 };
     27 }  // namespace internal
     28 }  // namespace v8
     29 
     30 #endif  // V8_S390_CODEGEN_S390_H_
     31