Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(218)

Side by Side Diff: src/assembler.cc

Issue 240053010: Return Object* instead of MaybeObject* from runtime calls. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: cmpp Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/assembler.h ('k') | src/builtins.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 1035 matching lines...) Expand 10 before | Expand all | Expand 10 after
1046 isolate, 1046 isolate,
1047 FUNCTION_ADDR(StoreBuffer::StoreBufferOverflow))); 1047 FUNCTION_ADDR(StoreBuffer::StoreBufferOverflow)));
1048 } 1048 }
1049 1049
1050 1050
1051 ExternalReference ExternalReference::flush_icache_function(Isolate* isolate) { 1051 ExternalReference ExternalReference::flush_icache_function(Isolate* isolate) {
1052 return ExternalReference(Redirect(isolate, FUNCTION_ADDR(CPU::FlushICache))); 1052 return ExternalReference(Redirect(isolate, FUNCTION_ADDR(CPU::FlushICache)));
1053 } 1053 }
1054 1054
1055 1055
1056 ExternalReference ExternalReference::perform_gc_function(Isolate* isolate) {
1057 return
1058 ExternalReference(Redirect(isolate, FUNCTION_ADDR(Runtime::PerformGC)));
1059 }
1060
1061
1062 ExternalReference ExternalReference::out_of_memory_function(Isolate* isolate) {
1063 return
1064 ExternalReference(Redirect(isolate, FUNCTION_ADDR(Runtime::OutOfMemory)));
1065 }
1066
1067
1068 ExternalReference ExternalReference::delete_handle_scope_extensions( 1056 ExternalReference ExternalReference::delete_handle_scope_extensions(
1069 Isolate* isolate) { 1057 Isolate* isolate) {
1070 return ExternalReference(Redirect( 1058 return ExternalReference(Redirect(
1071 isolate, 1059 isolate,
1072 FUNCTION_ADDR(HandleScope::DeleteExtensions))); 1060 FUNCTION_ADDR(HandleScope::DeleteExtensions)));
1073 } 1061 }
1074 1062
1075 1063
1076 ExternalReference ExternalReference::get_date_field_function( 1064 ExternalReference ExternalReference::get_date_field_function(
1077 Isolate* isolate) { 1065 Isolate* isolate) {
(...skipping 561 matching lines...) Expand 10 before | Expand all | Expand 10 after
1639 r2 = r2 - ad; 1627 r2 = r2 - ad;
1640 } 1628 }
1641 delta = ad - r2; 1629 delta = ad - r2;
1642 } while (q1 < delta || (q1 == delta && r1 == 0)); 1630 } while (q1 < delta || (q1 == delta && r1 == 0));
1643 int32_t mul = static_cast<int32_t>(q2 + 1); 1631 int32_t mul = static_cast<int32_t>(q2 + 1);
1644 multiplier_ = (d < 0) ? -mul : mul; 1632 multiplier_ = (d < 0) ? -mul : mul;
1645 shift_ = p - 32; 1633 shift_ = p - 32;
1646 } 1634 }
1647 1635
1648 } } // namespace v8::internal 1636 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/assembler.h ('k') | src/builtins.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698