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

Side by Side Diff: src/factory.cc

Issue 250793009: Merge v8converions with conversions (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: updates Created 6 years, 7 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/elements.cc ('k') | src/heap.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 "factory.h" 5 #include "factory.h"
6 6
7 #include "conversions.h"
8 #include "isolate-inl.h"
7 #include "macro-assembler.h" 9 #include "macro-assembler.h"
8 #include "isolate-inl.h"
9 #include "v8conversions.h"
10 10
11 namespace v8 { 11 namespace v8 {
12 namespace internal { 12 namespace internal {
13 13
14 14
15 template<typename T> 15 template<typename T>
16 Handle<T> Factory::New(Handle<Map> map, AllocationSpace space) { 16 Handle<T> Factory::New(Handle<Map> map, AllocationSpace space) {
17 CALL_HEAP_FUNCTION( 17 CALL_HEAP_FUNCTION(
18 isolate(), 18 isolate(),
19 isolate()->heap()->Allocate(*map, space), 19 isolate()->heap()->Allocate(*map, space),
(...skipping 2308 matching lines...) Expand 10 before | Expand all | Expand 10 after
2328 return Handle<Object>::null(); 2328 return Handle<Object>::null();
2329 } 2329 }
2330 2330
2331 2331
2332 Handle<Object> Factory::ToBoolean(bool value) { 2332 Handle<Object> Factory::ToBoolean(bool value) {
2333 return value ? true_value() : false_value(); 2333 return value ? true_value() : false_value();
2334 } 2334 }
2335 2335
2336 2336
2337 } } // namespace v8::internal 2337 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/elements.cc ('k') | src/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698