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

Side by Side Diff: src/factory.h

Issue 235943007: Handlify Object::ToObject. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: rebase 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/api.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 "isolate.h" 8 #include "isolate.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 Code::Flags flags, 416 Code::Flags flags,
417 Handle<Object> self_reference, 417 Handle<Object> self_reference,
418 bool immovable = false, 418 bool immovable = false,
419 bool crankshafted = false, 419 bool crankshafted = false,
420 int prologue_offset = Code::kPrologueOffsetNotSet); 420 int prologue_offset = Code::kPrologueOffsetNotSet);
421 421
422 Handle<Code> CopyCode(Handle<Code> code); 422 Handle<Code> CopyCode(Handle<Code> code);
423 423
424 Handle<Code> CopyCode(Handle<Code> code, Vector<byte> reloc_info); 424 Handle<Code> CopyCode(Handle<Code> code, Vector<byte> reloc_info);
425 425
426 Handle<Object> ToObject(Handle<Object> object);
427 Handle<Object> ToObject(Handle<Object> object,
428 Handle<Context> native_context);
429
430 // Interface for creating error objects. 426 // Interface for creating error objects.
431 427
432 Handle<Object> NewError(const char* maker, const char* message, 428 Handle<Object> NewError(const char* maker, const char* message,
433 Handle<JSArray> args); 429 Handle<JSArray> args);
434 Handle<String> EmergencyNewError(const char* message, Handle<JSArray> args); 430 Handle<String> EmergencyNewError(const char* message, Handle<JSArray> args);
435 Handle<Object> NewError(const char* maker, const char* message, 431 Handle<Object> NewError(const char* maker, const char* message,
436 Vector< Handle<Object> > args); 432 Vector< Handle<Object> > args);
437 Handle<Object> NewError(const char* message, 433 Handle<Object> NewError(const char* message,
438 Vector< Handle<Object> > args); 434 Vector< Handle<Object> > args);
439 Handle<Object> NewError(Handle<String> message); 435 Handle<Object> NewError(Handle<String> message);
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
608 604
609 // Update the map cache in the native context with (keys, map) 605 // Update the map cache in the native context with (keys, map)
610 Handle<MapCache> AddToMapCache(Handle<Context> context, 606 Handle<MapCache> AddToMapCache(Handle<Context> context,
611 Handle<FixedArray> keys, 607 Handle<FixedArray> keys,
612 Handle<Map> map); 608 Handle<Map> map);
613 }; 609 };
614 610
615 } } // namespace v8::internal 611 } } // namespace v8::internal
616 612
617 #endif // V8_FACTORY_H_ 613 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/api.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698