OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 V(CALL_NON_FUNCTION, 0) \ | 253 V(CALL_NON_FUNCTION, 0) \ |
254 V(CALL_NON_FUNCTION_AS_CONSTRUCTOR, 0) \ | 254 V(CALL_NON_FUNCTION_AS_CONSTRUCTOR, 0) \ |
255 V(CALL_FUNCTION_PROXY, 1) \ | 255 V(CALL_FUNCTION_PROXY, 1) \ |
256 V(CALL_FUNCTION_PROXY_AS_CONSTRUCTOR, 1) \ | 256 V(CALL_FUNCTION_PROXY_AS_CONSTRUCTOR, 1) \ |
257 V(TO_OBJECT, 0) \ | 257 V(TO_OBJECT, 0) \ |
258 V(TO_NUMBER, 0) \ | 258 V(TO_NUMBER, 0) \ |
259 V(TO_STRING, 0) \ | 259 V(TO_STRING, 0) \ |
260 V(STRING_ADD_LEFT, 1) \ | 260 V(STRING_ADD_LEFT, 1) \ |
261 V(STRING_ADD_RIGHT, 1) \ | 261 V(STRING_ADD_RIGHT, 1) \ |
262 V(APPLY_PREPARE, 1) \ | 262 V(APPLY_PREPARE, 1) \ |
263 V(APPLY_OVERFLOW, 1) | 263 V(APPLY_OVERFLOW, 1) \ |
| 264 V(STACK_OVERFLOW, 0) |
264 | 265 |
265 class BuiltinFunctionTable; | 266 class BuiltinFunctionTable; |
266 class ObjectVisitor; | 267 class ObjectVisitor; |
267 | 268 |
268 | 269 |
269 class Builtins { | 270 class Builtins { |
270 public: | 271 public: |
271 ~Builtins(); | 272 ~Builtins(); |
272 | 273 |
273 // Generate all builtin code objects. Should be called once during | 274 // Generate all builtin code objects. Should be called once during |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
407 | 408 |
408 friend class BuiltinFunctionTable; | 409 friend class BuiltinFunctionTable; |
409 friend class Isolate; | 410 friend class Isolate; |
410 | 411 |
411 DISALLOW_COPY_AND_ASSIGN(Builtins); | 412 DISALLOW_COPY_AND_ASSIGN(Builtins); |
412 }; | 413 }; |
413 | 414 |
414 } } // namespace v8::internal | 415 } } // namespace v8::internal |
415 | 416 |
416 #endif // V8_BUILTINS_H_ | 417 #endif // V8_BUILTINS_H_ |
OLD | NEW |