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

Side by Side Diff: src/assembler.cc

Issue 214473003: Reland "Correctly OOM in the CEntryStub after retries." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: fix 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/ia32/code-stubs-ia32.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 1041 matching lines...) Expand 10 before | Expand all | Expand 10 after
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) { 1056 ExternalReference ExternalReference::perform_gc_function(Isolate* isolate) {
1057 return 1057 return
1058 ExternalReference(Redirect(isolate, FUNCTION_ADDR(Runtime::PerformGC))); 1058 ExternalReference(Redirect(isolate, FUNCTION_ADDR(Runtime::PerformGC)));
1059 } 1059 }
1060 1060
1061 1061
1062 ExternalReference ExternalReference::out_of_memory_function(Isolate* isolate) {
1063 return
1064 ExternalReference(Redirect(isolate, FUNCTION_ADDR(Runtime::OutOfMemory)));
1065 }
1066
1067
1062 ExternalReference ExternalReference::delete_handle_scope_extensions( 1068 ExternalReference ExternalReference::delete_handle_scope_extensions(
1063 Isolate* isolate) { 1069 Isolate* isolate) {
1064 return ExternalReference(Redirect( 1070 return ExternalReference(Redirect(
1065 isolate, 1071 isolate,
1066 FUNCTION_ADDR(HandleScope::DeleteExtensions))); 1072 FUNCTION_ADDR(HandleScope::DeleteExtensions)));
1067 } 1073 }
1068 1074
1069 1075
1070 ExternalReference ExternalReference::get_date_field_function( 1076 ExternalReference ExternalReference::get_date_field_function(
1071 Isolate* isolate) { 1077 Isolate* isolate) {
(...skipping 561 matching lines...) Expand 10 before | Expand all | Expand 10 after
1633 r2 = r2 - ad; 1639 r2 = r2 - ad;
1634 } 1640 }
1635 delta = ad - r2; 1641 delta = ad - r2;
1636 } while (q1 < delta || (q1 == delta && r1 == 0)); 1642 } while (q1 < delta || (q1 == delta && r1 == 0));
1637 int32_t mul = static_cast<int32_t>(q2 + 1); 1643 int32_t mul = static_cast<int32_t>(q2 + 1);
1638 multiplier_ = (d < 0) ? -mul : mul; 1644 multiplier_ = (d < 0) ? -mul : mul;
1639 shift_ = p - 32; 1645 shift_ = p - 32;
1640 } 1646 }
1641 1647
1642 } } // namespace v8::internal 1648 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/assembler.h ('k') | src/ia32/code-stubs-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698