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 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
430 Vector< Handle<Object> > args); | 430 Vector< Handle<Object> > args); |
431 Handle<Object> NewRangeError(Handle<String> message); | 431 Handle<Object> NewRangeError(Handle<String> message); |
432 | 432 |
433 Handle<Object> NewSyntaxError(const char* message, Handle<JSArray> args); | 433 Handle<Object> NewSyntaxError(const char* message, Handle<JSArray> args); |
434 Handle<Object> NewSyntaxError(Handle<String> message); | 434 Handle<Object> NewSyntaxError(Handle<String> message); |
435 | 435 |
436 Handle<Object> NewReferenceError(const char* message, | 436 Handle<Object> NewReferenceError(const char* message, |
437 Vector< Handle<Object> > args); | 437 Vector< Handle<Object> > args); |
438 Handle<Object> NewReferenceError(Handle<String> message); | 438 Handle<Object> NewReferenceError(Handle<String> message); |
439 | 439 |
| 440 Handle<Object> NewStackOverflowError(Handle<String> message); |
| 441 |
440 Handle<Object> NewEvalError(const char* message, | 442 Handle<Object> NewEvalError(const char* message, |
441 Vector< Handle<Object> > args); | 443 Vector< Handle<Object> > args); |
| 444 Handle<Object> NewEvalError(Handle<String> message); |
| 445 |
| 446 Handle<Object> NewURIError(Handle<String> message); |
442 | 447 |
443 | 448 |
444 Handle<JSFunction> NewFunction(Handle<String> name, | 449 Handle<JSFunction> NewFunction(Handle<String> name, |
445 InstanceType type, | 450 InstanceType type, |
446 int instance_size, | 451 int instance_size, |
447 Handle<Code> code, | 452 Handle<Code> code, |
448 bool force_initial_map); | 453 bool force_initial_map); |
449 | 454 |
450 Handle<JSFunction> NewFunction(Handle<Map> function_map, | 455 Handle<JSFunction> NewFunction(Handle<Map> function_map, |
451 Handle<SharedFunctionInfo> shared, Handle<Object> prototype); | 456 Handle<SharedFunctionInfo> shared, Handle<Object> prototype); |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
597 isolate()); | 602 isolate()); |
598 } else { | 603 } else { |
599 return NewNumber(static_cast<double>(value), pretenure); | 604 return NewNumber(static_cast<double>(value), pretenure); |
600 } | 605 } |
601 } | 606 } |
602 | 607 |
603 | 608 |
604 } } // namespace v8::internal | 609 } } // namespace v8::internal |
605 | 610 |
606 #endif // V8_FACTORY_H_ | 611 #endif // V8_FACTORY_H_ |
OLD | NEW |