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

Side by Side Diff: src/builtins/builtins.h

Issue 2222893002: Move family of MakeError functions to C++ (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix in prologue.js Created 4 years, 4 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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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_BUILTINS_BUILTINS_H_ 5 #ifndef V8_BUILTINS_BUILTINS_H_
6 #define V8_BUILTINS_BUILTINS_H_ 6 #define V8_BUILTINS_BUILTINS_H_
7 7
8 #include "src/base/flags.h" 8 #include "src/base/flags.h"
9 #include "src/handles.h" 9 #include "src/handles.h"
10 10
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 CPP(DatePrototypeToString) \ 305 CPP(DatePrototypeToString) \
306 CPP(DatePrototypeToTimeString) \ 306 CPP(DatePrototypeToTimeString) \
307 CPP(DatePrototypeValueOf) \ 307 CPP(DatePrototypeValueOf) \
308 CPP(DatePrototypeToJson) \ 308 CPP(DatePrototypeToJson) \
309 CPP(DateUTC) \ 309 CPP(DateUTC) \
310 \ 310 \
311 /* Error */ \ 311 /* Error */ \
312 CPP(ErrorConstructor) \ 312 CPP(ErrorConstructor) \
313 CPP(ErrorCaptureStackTrace) \ 313 CPP(ErrorCaptureStackTrace) \
314 CPP(ErrorPrototypeToString) \ 314 CPP(ErrorPrototypeToString) \
315 CPP(MakeGenericError) \ 315 CPP(MakeError) \
316 CPP(MakeRangeError) \
317 CPP(MakeSyntaxError) \
318 CPP(MakeTypeError) \
319 CPP(MakeURIError) \
316 \ 320 \
317 /* Function */ \ 321 /* Function */ \
318 CPP(FunctionConstructor) \ 322 CPP(FunctionConstructor) \
319 ASM(FunctionPrototypeApply) \ 323 ASM(FunctionPrototypeApply) \
320 CPP(FunctionPrototypeBind) \ 324 CPP(FunctionPrototypeBind) \
321 ASM(FunctionPrototypeCall) \ 325 ASM(FunctionPrototypeCall) \
322 /* ES6 section 19.2.3.6 Function.prototype [ @@hasInstance ] ( V ) */ \ 326 /* ES6 section 19.2.3.6 Function.prototype [ @@hasInstance ] ( V ) */ \
323 TFJ(FunctionPrototypeHasInstance, 2) \ 327 TFJ(FunctionPrototypeHasInstance, 2) \
324 CPP(FunctionPrototypeToString) \ 328 CPP(FunctionPrototypeToString) \
325 \ 329 \
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
650 654
651 friend class Isolate; 655 friend class Isolate;
652 656
653 DISALLOW_COPY_AND_ASSIGN(Builtins); 657 DISALLOW_COPY_AND_ASSIGN(Builtins);
654 }; 658 };
655 659
656 } // namespace internal 660 } // namespace internal
657 } // namespace v8 661 } // namespace v8
658 662
659 #endif // V8_BUILTINS_BUILTINS_H_ 663 #endif // V8_BUILTINS_BUILTINS_H_
OLDNEW
« src/bootstrapper.cc ('K') | « src/bootstrapper.cc ('k') | src/builtins/builtins-error.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698