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

Side by Side Diff: src/factory.h

Issue 1703453002: [interpreter, debugger] support debug breaks via bytecode array copy (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebase Created 4 years, 10 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/debug/debug-frames.cc ('k') | src/factory.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 #ifndef V8_FACTORY_H_ 5 #ifndef V8_FACTORY_H_
6 #define V8_FACTORY_H_ 6 #define V8_FACTORY_H_
7 7
8 #include "src/isolate.h" 8 #include "src/isolate.h"
9 #include "src/messages.h" 9 #include "src/messages.h"
10 #include "src/type-feedback-vector.h" 10 #include "src/type-feedback-vector.h"
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after
542 Handle<Object> self_reference, 542 Handle<Object> self_reference,
543 bool immovable = false, 543 bool immovable = false,
544 bool crankshafted = false, 544 bool crankshafted = false,
545 int prologue_offset = Code::kPrologueOffsetNotSet, 545 int prologue_offset = Code::kPrologueOffsetNotSet,
546 bool is_debug = false); 546 bool is_debug = false);
547 547
548 Handle<Code> CopyCode(Handle<Code> code); 548 Handle<Code> CopyCode(Handle<Code> code);
549 549
550 Handle<Code> CopyCode(Handle<Code> code, Vector<byte> reloc_info); 550 Handle<Code> CopyCode(Handle<Code> code, Vector<byte> reloc_info);
551 551
552 Handle<BytecodeArray> CopyBytecodeArray(Handle<BytecodeArray>);
553
552 // Interface for creating error objects. 554 // Interface for creating error objects.
553 Handle<Object> NewError(Handle<JSFunction> constructor, 555 Handle<Object> NewError(Handle<JSFunction> constructor,
554 Handle<String> message); 556 Handle<String> message);
555 557
556 Handle<Object> NewInvalidStringLengthError() { 558 Handle<Object> NewInvalidStringLengthError() {
557 return NewRangeError(MessageTemplate::kInvalidStringLength); 559 return NewRangeError(MessageTemplate::kInvalidStringLength);
558 } 560 }
559 561
560 Handle<Object> NewError(Handle<JSFunction> constructor, 562 Handle<Object> NewError(Handle<JSFunction> constructor,
561 MessageTemplate::Template template_index, 563 MessageTemplate::Template template_index,
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
709 // Create a JSArray with no elements and no length. 711 // Create a JSArray with no elements and no length.
710 Handle<JSArray> NewJSArray(ElementsKind elements_kind, 712 Handle<JSArray> NewJSArray(ElementsKind elements_kind,
711 Strength strength = Strength::WEAK, 713 Strength strength = Strength::WEAK,
712 PretenureFlag pretenure = NOT_TENURED); 714 PretenureFlag pretenure = NOT_TENURED);
713 }; 715 };
714 716
715 } // namespace internal 717 } // namespace internal
716 } // namespace v8 718 } // namespace v8
717 719
718 #endif // V8_FACTORY_H_ 720 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/debug/debug-frames.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698