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

Side by Side Diff: src/isolate.cc

Issue 2405253006: [builtins] implement Array.prototype[@@iterator] in TFJ builtins (Closed)
Patch Set: revert unneeded prologue.js changes 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 1079 matching lines...) Expand 10 before | Expand all | Expand 10 after
1090 } 1090 }
1091 1091
1092 // Generate the message if required. 1092 // Generate the message if required.
1093 if (requires_message && !rethrowing_message) { 1093 if (requires_message && !rethrowing_message) {
1094 MessageLocation computed_location; 1094 MessageLocation computed_location;
1095 // If no location was specified we try to use a computed one instead. 1095 // If no location was specified we try to use a computed one instead.
1096 if (location == NULL && ComputeLocation(&computed_location)) { 1096 if (location == NULL && ComputeLocation(&computed_location)) {
1097 location = &computed_location; 1097 location = &computed_location;
1098 } 1098 }
1099 1099
1100 if (bootstrapper()->IsActive()) { 1100 if (false && bootstrapper()->IsActive()) {
1101 // It's not safe to try to make message objects or collect stack traces 1101 // It's not safe to try to make message objects or collect stack traces
1102 // while the bootstrapper is active since the infrastructure may not have 1102 // while the bootstrapper is active since the infrastructure may not have
1103 // been properly initialized. 1103 // been properly initialized.
1104 ReportBootstrappingException(exception_handle, location); 1104 ReportBootstrappingException(exception_handle, location);
1105 } else { 1105 } else {
1106 Handle<Object> message_obj = CreateMessage(exception_handle, location); 1106 Handle<Object> message_obj = CreateMessage(exception_handle, location);
1107 thread_local_top()->pending_message_obj_ = *message_obj; 1107 thread_local_top()->pending_message_obj_ = *message_obj;
1108 1108
1109 // For any exception not caught by JavaScript, even when an external 1109 // For any exception not caught by JavaScript, even when an external
1110 // handler is present: 1110 // handler is present:
(...skipping 2340 matching lines...) Expand 10 before | Expand all | Expand 10 after
3451 // Then check whether this scope intercepts. 3451 // Then check whether this scope intercepts.
3452 if ((flag & intercept_mask_)) { 3452 if ((flag & intercept_mask_)) {
3453 intercepted_flags_ |= flag; 3453 intercepted_flags_ |= flag;
3454 return true; 3454 return true;
3455 } 3455 }
3456 return false; 3456 return false;
3457 } 3457 }
3458 3458
3459 } // namespace internal 3459 } // namespace internal
3460 } // namespace v8 3460 } // namespace v8
OLDNEW
« no previous file with comments | « src/heap/objects-visiting.cc ('k') | src/js/array.js » ('j') | test/test262/test262.status » ('J')

Powered by Google App Engine
This is Rietveld 408576698