| OLD | NEW | 
|---|
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. | 
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without | 
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are | 
| 4 // met: | 4 // met: | 
| 5 // | 5 // | 
| 6 //     * Redistributions of source code must retain the above copyright | 6 //     * Redistributions of source code must retain the above copyright | 
| 7 //       notice, this list of conditions and the following disclaimer. | 7 //       notice, this list of conditions and the following disclaimer. | 
| 8 //     * Redistributions in binary form must reproduce the above | 8 //     * Redistributions in binary form must reproduce the above | 
| 9 //       copyright notice, this list of conditions and the following | 9 //       copyright notice, this list of conditions and the following | 
| 10 //       disclaimer in the documentation and/or other materials provided | 10 //       disclaimer in the documentation and/or other materials provided | 
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 47   V(ApplyArguments)                             \ | 47   V(ApplyArguments)                             \ | 
| 48   V(ArgumentsElements)                          \ | 48   V(ArgumentsElements)                          \ | 
| 49   V(ArgumentsLength)                            \ | 49   V(ArgumentsLength)                            \ | 
| 50   V(ArithmeticD)                                \ | 50   V(ArithmeticD)                                \ | 
| 51   V(ArithmeticT)                                \ | 51   V(ArithmeticT)                                \ | 
| 52   V(BitI)                                       \ | 52   V(BitI)                                       \ | 
| 53   V(BoundsCheck)                                \ | 53   V(BoundsCheck)                                \ | 
| 54   V(Branch)                                     \ | 54   V(Branch)                                     \ | 
| 55   V(CallConstantFunction)                       \ | 55   V(CallConstantFunction)                       \ | 
| 56   V(CallFunction)                               \ | 56   V(CallFunction)                               \ | 
| 57   V(CallGlobal)                                 \ |  | 
| 58   V(CallKeyed)                                  \ | 57   V(CallKeyed)                                  \ | 
| 59   V(CallKnownGlobal)                            \ | 58   V(CallKnownGlobal)                            \ | 
| 60   V(CallNamed)                                  \ | 59   V(CallNamed)                                  \ | 
| 61   V(CallNew)                                    \ | 60   V(CallNew)                                    \ | 
| 62   V(CallNewArray)                               \ | 61   V(CallNewArray)                               \ | 
| 63   V(CallRuntime)                                \ | 62   V(CallRuntime)                                \ | 
| 64   V(CallStub)                                   \ | 63   V(CallStub)                                   \ | 
| 65   V(CheckInstanceType)                          \ | 64   V(CheckInstanceType)                          \ | 
| 66   V(CheckMaps)                                  \ | 65   V(CheckMaps)                                  \ | 
| 67   V(CheckMapValue)                              \ | 66   V(CheckMapValue)                              \ | 
| (...skipping 1847 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1915   LOperand* context() { return inputs_[0]; } | 1914   LOperand* context() { return inputs_[0]; } | 
| 1916   LOperand* function() { return inputs_[1]; } | 1915   LOperand* function() { return inputs_[1]; } | 
| 1917 | 1916 | 
| 1918   DECLARE_CONCRETE_INSTRUCTION(CallFunction, "call-function") | 1917   DECLARE_CONCRETE_INSTRUCTION(CallFunction, "call-function") | 
| 1919   DECLARE_HYDROGEN_ACCESSOR(CallFunction) | 1918   DECLARE_HYDROGEN_ACCESSOR(CallFunction) | 
| 1920 | 1919 | 
| 1921   int arity() const { return hydrogen()->argument_count() - 1; } | 1920   int arity() const { return hydrogen()->argument_count() - 1; } | 
| 1922 }; | 1921 }; | 
| 1923 | 1922 | 
| 1924 | 1923 | 
| 1925 class LCallGlobal V8_FINAL : public LTemplateInstruction<1, 1, 0> { |  | 
| 1926  public: |  | 
| 1927   explicit LCallGlobal(LOperand* context) { |  | 
| 1928     inputs_[0] = context; |  | 
| 1929   } |  | 
| 1930 |  | 
| 1931   LOperand* context() { return inputs_[0]; } |  | 
| 1932 |  | 
| 1933   DECLARE_CONCRETE_INSTRUCTION(CallGlobal, "call-global") |  | 
| 1934   DECLARE_HYDROGEN_ACCESSOR(CallGlobal) |  | 
| 1935 |  | 
| 1936   virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; |  | 
| 1937 |  | 
| 1938   Handle<String> name() const {return hydrogen()->name(); } |  | 
| 1939   int arity() const { return hydrogen()->argument_count() - 1; } |  | 
| 1940 }; |  | 
| 1941 |  | 
| 1942 |  | 
| 1943 class LCallKnownGlobal V8_FINAL : public LTemplateInstruction<1, 0, 0> { | 1924 class LCallKnownGlobal V8_FINAL : public LTemplateInstruction<1, 0, 0> { | 
| 1944  public: | 1925  public: | 
| 1945   DECLARE_CONCRETE_INSTRUCTION(CallKnownGlobal, "call-known-global") | 1926   DECLARE_CONCRETE_INSTRUCTION(CallKnownGlobal, "call-known-global") | 
| 1946   DECLARE_HYDROGEN_ACCESSOR(CallKnownGlobal) | 1927   DECLARE_HYDROGEN_ACCESSOR(CallKnownGlobal) | 
| 1947 | 1928 | 
| 1948   virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; | 1929   virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; | 
| 1949 | 1930 | 
| 1950   int arity() const { return hydrogen()->argument_count() - 1;  } | 1931   int arity() const { return hydrogen()->argument_count() - 1;  } | 
| 1951 }; | 1932 }; | 
| 1952 | 1933 | 
| (...skipping 929 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2882 | 2863 | 
| 2883   DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2864   DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 
| 2884 }; | 2865 }; | 
| 2885 | 2866 | 
| 2886 #undef DECLARE_HYDROGEN_ACCESSOR | 2867 #undef DECLARE_HYDROGEN_ACCESSOR | 
| 2887 #undef DECLARE_CONCRETE_INSTRUCTION | 2868 #undef DECLARE_CONCRETE_INSTRUCTION | 
| 2888 | 2869 | 
| 2889 } }  // namespace v8::internal | 2870 } }  // namespace v8::internal | 
| 2890 | 2871 | 
| 2891 #endif  // V8_IA32_LITHIUM_IA32_H_ | 2872 #endif  // V8_IA32_LITHIUM_IA32_H_ | 
| OLD | NEW | 
|---|