| OLD | NEW |
| 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 V(GET_KEYS, 0) \ | 157 V(GET_KEYS, 0) \ |
| 158 V(FILTER_KEY, 1) \ | 158 V(FILTER_KEY, 1) \ |
| 159 V(CALL_NON_FUNCTION, 0) \ | 159 V(CALL_NON_FUNCTION, 0) \ |
| 160 V(CALL_NON_FUNCTION_AS_CONSTRUCTOR, 0) \ | 160 V(CALL_NON_FUNCTION_AS_CONSTRUCTOR, 0) \ |
| 161 V(TO_OBJECT, 0) \ | 161 V(TO_OBJECT, 0) \ |
| 162 V(TO_NUMBER, 0) \ | 162 V(TO_NUMBER, 0) \ |
| 163 V(TO_STRING, 0) \ | 163 V(TO_STRING, 0) \ |
| 164 V(STRING_ADD_LEFT, 1) \ | 164 V(STRING_ADD_LEFT, 1) \ |
| 165 V(STRING_ADD_RIGHT, 1) \ | 165 V(STRING_ADD_RIGHT, 1) \ |
| 166 V(APPLY_PREPARE, 1) \ | 166 V(APPLY_PREPARE, 1) \ |
| 167 V(APPLY_OVERFLOW, 1) \ | 167 V(APPLY_OVERFLOW, 1) |
| 168 V(STRING_CHAR_AT, 1) | |
| 169 | 168 |
| 170 | 169 |
| 171 class ObjectVisitor; | 170 class ObjectVisitor; |
| 172 | 171 |
| 173 | 172 |
| 174 class Builtins : public AllStatic { | 173 class Builtins : public AllStatic { |
| 175 public: | 174 public: |
| 176 // Generate all builtin code objects. Should be called once during | 175 // Generate all builtin code objects. Should be called once during |
| 177 // VM initialization. | 176 // VM initialization. |
| 178 static void Setup(bool create_heap_objects); | 177 static void Setup(bool create_heap_objects); |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 253 static void Generate_FunctionCall(MacroAssembler* masm); | 252 static void Generate_FunctionCall(MacroAssembler* masm); |
| 254 static void Generate_FunctionApply(MacroAssembler* masm); | 253 static void Generate_FunctionApply(MacroAssembler* masm); |
| 255 | 254 |
| 256 static void Generate_ArrayCode(MacroAssembler* masm); | 255 static void Generate_ArrayCode(MacroAssembler* masm); |
| 257 static void Generate_ArrayConstructCode(MacroAssembler* masm); | 256 static void Generate_ArrayConstructCode(MacroAssembler* masm); |
| 258 }; | 257 }; |
| 259 | 258 |
| 260 } } // namespace v8::internal | 259 } } // namespace v8::internal |
| 261 | 260 |
| 262 #endif // V8_BUILTINS_H_ | 261 #endif // V8_BUILTINS_H_ |
| OLD | NEW |