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

Side by Side Diff: src/runtime/runtime-internal.cc

Issue 1337883002: [builtins] Remove the weird STACK_OVERFLOW builtin. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 3 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
« no previous file with comments | « src/runtime/runtime.h ('k') | src/x64/builtins-x64.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/runtime/runtime-utils.h" 5 #include "src/runtime/runtime-utils.h"
6 6
7 #include "src/arguments.h" 7 #include "src/arguments.h"
8 #include "src/bootstrapper.h" 8 #include "src/bootstrapper.h"
9 #include "src/conversions.h" 9 #include "src/conversions.h"
10 #include "src/debug/debug.h" 10 #include "src/debug/debug.h"
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 } 81 }
82 82
83 83
84 RUNTIME_FUNCTION(Runtime_ReThrow) { 84 RUNTIME_FUNCTION(Runtime_ReThrow) {
85 HandleScope scope(isolate); 85 HandleScope scope(isolate);
86 DCHECK(args.length() == 1); 86 DCHECK(args.length() == 1);
87 return isolate->ReThrow(args[0]); 87 return isolate->ReThrow(args[0]);
88 } 88 }
89 89
90 90
91 RUNTIME_FUNCTION(Runtime_ThrowStackOverflow) {
92 SealHandleScope shs(isolate);
93 DCHECK_EQ(0, args.length());
94 return isolate->StackOverflow();
95 }
96
97
91 RUNTIME_FUNCTION(Runtime_UnwindAndFindExceptionHandler) { 98 RUNTIME_FUNCTION(Runtime_UnwindAndFindExceptionHandler) {
92 SealHandleScope shs(isolate); 99 SealHandleScope shs(isolate);
93 DCHECK(args.length() == 0); 100 DCHECK(args.length() == 0);
94 return isolate->UnwindAndFindHandler(); 101 return isolate->UnwindAndFindHandler();
95 } 102 }
96 103
97 104
98 RUNTIME_FUNCTION(Runtime_PromoteScheduledException) { 105 RUNTIME_FUNCTION(Runtime_PromoteScheduledException) {
99 SealHandleScope shs(isolate); 106 SealHandleScope shs(isolate);
100 DCHECK(args.length() == 0); 107 DCHECK(args.length() == 0);
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 } 404 }
398 405
399 406
400 RUNTIME_FUNCTION(Runtime_GetCodeStubExportsObject) { 407 RUNTIME_FUNCTION(Runtime_GetCodeStubExportsObject) {
401 HandleScope shs(isolate); 408 HandleScope shs(isolate);
402 return isolate->heap()->code_stub_exports_object(); 409 return isolate->heap()->code_stub_exports_object();
403 } 410 }
404 411
405 } // namespace internal 412 } // namespace internal
406 } // namespace v8 413 } // namespace v8
OLDNEW
« no previous file with comments | « src/runtime/runtime.h ('k') | src/x64/builtins-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698