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

Side by Side Diff: src/isolate.cc

Issue 2405253006: [builtins] implement Array.prototype[@@iterator] in TFJ builtins (Closed)
Patch Set: Created 4 years, 2 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
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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/isolate.h" 5 #include "src/isolate.h"
6 6
7 #include <stdlib.h> 7 #include <stdlib.h>
8 8
9 #include <fstream> // NOLINT(readability/streams) 9 #include <fstream> // NOLINT(readability/streams)
10 #include <sstream> 10 #include <sstream>
(...skipping 1078 matching lines...) Expand 10 before | Expand all | Expand 10 after
1089 } 1089 }
1090 1090
1091 // Generate the message if required. 1091 // Generate the message if required.
1092 if (requires_message && !rethrowing_message) { 1092 if (requires_message && !rethrowing_message) {
1093 MessageLocation computed_location; 1093 MessageLocation computed_location;
1094 // If no location was specified we try to use a computed one instead. 1094 // If no location was specified we try to use a computed one instead.
1095 if (location == NULL && ComputeLocation(&computed_location)) { 1095 if (location == NULL && ComputeLocation(&computed_location)) {
1096 location = &computed_location; 1096 location = &computed_location;
1097 } 1097 }
1098 1098
1099 if (bootstrapper()->IsActive()) { 1099 if (false && bootstrapper()->IsActive()) {
Benedikt Meurer 2016/10/13 05:07:20 Undo this.
caitp 2016/10/13 22:32:44 Done.
1100 // It's not safe to try to make message objects or collect stack traces 1100 // It's not safe to try to make message objects or collect stack traces
1101 // while the bootstrapper is active since the infrastructure may not have 1101 // while the bootstrapper is active since the infrastructure may not have
1102 // been properly initialized. 1102 // been properly initialized.
1103 ReportBootstrappingException(exception_handle, location); 1103 ReportBootstrappingException(exception_handle, location);
1104 } else { 1104 } else {
1105 Handle<Object> message_obj = CreateMessage(exception_handle, location); 1105 Handle<Object> message_obj = CreateMessage(exception_handle, location);
1106 thread_local_top()->pending_message_obj_ = *message_obj; 1106 thread_local_top()->pending_message_obj_ = *message_obj;
1107 1107
1108 // For any exception not caught by JavaScript, even when an external 1108 // For any exception not caught by JavaScript, even when an external
1109 // handler is present: 1109 // handler is present:
(...skipping 2271 matching lines...) Expand 10 before | Expand all | Expand 10 after
3381 // Then check whether this scope intercepts. 3381 // Then check whether this scope intercepts.
3382 if ((flag & intercept_mask_)) { 3382 if ((flag & intercept_mask_)) {
3383 intercepted_flags_ |= flag; 3383 intercepted_flags_ |= flag;
3384 return true; 3384 return true;
3385 } 3385 }
3386 return false; 3386 return false;
3387 } 3387 }
3388 3388
3389 } // namespace internal 3389 } // namespace internal
3390 } // namespace v8 3390 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698